Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001937/0.001937, allocations: 115.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002336/0.002336, allocations: 208.7 kB / 23.72 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2384, allocations: 53.41 MB / 431.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01116/0.2496, allocations: 7.938 MB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.255, allocations: 2.785 MB / 441.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009501/0.256, allocations: 55.62 kB / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2577, allocations: 0.5939 MB / 442.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.26, allocations: 0.7729 MB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008375/0.2609, allocations: 339.5 kB / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.2638, allocations: 2.377 MB / 446 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.2653, allocations: 0.9853 MB / 447 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.2669, allocations: 1.102 MB / 448.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.2689, allocations: 1.304 MB / 449.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004767/0.2694, allocations: 280 kB / 449.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/0.2702, allocations: 383.8 kB / 450 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000924/0.2711, allocations: 0.8102 MB / 450.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.2726, allocations: 1.023 MB / 451.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.2774, allocations: 3.737 MB / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2774, allocations: 0 / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2774, allocations: 0 / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.726e-05/0.2775, allocations: 0 / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005591/0.2831, allocations: 2.583 MB / 458.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2831, allocations: 11.98 kB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003617/0.2835, allocations: 269.9 kB / 458.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.2845, allocations: 303.3 kB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.2872, allocations: 1.334 MB / 460.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2874, allocations: 147.7 kB / 460.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.2877, allocations: 179.9 kB / 460.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004125/0.2918, allocations: 2.514 MB / 462.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.2919, allocations: 4 kB / 462.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.2921, allocations: 75.98 kB / 463 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.2922, allocations: 83.5 kB / 463.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.2958, allocations: 2.016 MB / 465.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.3077, allocations: 6.668 MB / 471.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.3096, allocations: 0.9915 MB / 472.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.3114, allocations: 0.8658 MB / 473.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3116, allocations: 44.95 kB / 473.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/0.3117, allocations: 43.56 kB / 473.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.947e-06/0.3117, allocations: 0 / 473.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009914/0.3216, allocations: 4.695 MB / 478.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3217, allocations: 64.41 kB / 478.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.3239, allocations: 1.404 MB / 479.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.324, allocations: 41.7 kB / 479.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007913/0.3248, allocations: 0.9227 MB / 480.8 MB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.3251, allocations: 364.9 kB / 481.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.3255, allocations: 218.9 kB / 481.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3257, allocations: 349.9 kB / 481.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3268, allocations: 0.635 MB / 482.4 MB, free: 2.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3281, allocations: 0.9259 MB / 483.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.3306, allocations: 1.649 MB / 485 MB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.3306, allocations: 7.938 kB / 485 MB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004515/0.3351, allocations: 2.376 MB / 487.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3351, allocations: 12 kB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3352, allocations: 8 kB / 487.4 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.3371, allocations: 0.709 MB / 488.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/0.338, allocations: 243.6 kB / 488.3 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.35, allocations: 8.432 MB / 496.8 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3514, allocations: 91.92 kB / 496.8 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.3515, allocations: 48 kB / 496.9 MB, free: 3.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.3529, allocations: 0.634 MB / 497.5 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.3533, allocations: 151.1 kB / 497.7 MB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.3567, allocations: 1.897 MB / 499.6 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3567, allocations: 8 kB / 499.6 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3568, allocations: 8 kB / 499.6 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3568, allocations: 3.984 kB / 499.6 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/0.3642, allocations: 3.743 MB / 0.4915 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.3642, allocations: 7.984 kB / 0.4915 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.365, allocations: 175.8 kB / 0.4917 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.3663, allocations: 459.2 kB / 0.4921 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.3663, allocations: 35.92 kB / 0.4922 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007661/0.374, allocations: 6.339 MB / 0.4984 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.374, allocations: 7.938 kB / 0.4984 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/0.3788, allocations: 2.78 MB / 0.5011 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/0.3798, allocations: 286.9 kB / 0.5014 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.38, allocations: 24 kB / 0.5014 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007733/0.3808, allocations: 63.92 kB / 0.5015 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.381, allocations: 96.7 kB / 0.5015 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.3811, allocations: 27.94 kB / 0.5016 GB, free: 2.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.3826, allocations: 0.9664 MB / 0.5025 GB, free: 1.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3826, allocations: 0 / 0.5025 GB, free: 1.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001522/0.3842, allocations: 435.9 kB / 0.5029 GB, free: 0.9727 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005445/0.3896, allocations: 3.408 MB / 0.5063 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.3933, allocations: 1.937 MB / 0.5082 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3933, allocations: 0 / 0.5082 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.3955, allocations: 1.23 MB / 0.5094 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.3975, allocations: 382.4 kB / 0.5097 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/0.4251, allocations: 16.39 MB / 0.5257 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.4266, allocations: 1.122 MB / 0.5268 GB, free: 7.875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001055/0.4276, allocations: 320 kB / 0.5271 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/0.4286, allocations: 0.7063 MB / 0.5278 GB, free: 6.852 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4286, allocations: 4 kB / 0.5278 GB, free: 6.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/0.6848, allocations: 43.04 MB / 0.5699 GB, free: 78.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.48, allocations: 3.984 kB / 0.5699 GB, free: 78.11 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.58128313580528]