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.001548/0.001548, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001951/0.001951, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.527/1.527, allocations: 230.4 MB / 254 MB, free: 15.17 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.002042/0.002042, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 53.38 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01227/0.1235, allocations: 8.991 MB / 435.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006618/0.1301, allocations: 2.972 MB / 438.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.1319, allocations: 51.69 kB / 438.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.1345, allocations: 0.6484 MB / 439 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.1382, allocations: 0.7613 MB / 439.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1395, allocations: 331.5 kB / 440.1 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003692/0.1432, allocations: 2.378 MB / 442.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.1448, allocations: 1.286 MB / 443.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.1463, allocations: 1.102 MB / 444.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.1481, allocations: 1.378 MB / 446.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.1485, allocations: 280 kB / 446.5 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2078/0.3563, allocations: 388.6 kB / 446.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.3578, allocations: 0.8005 MB / 447.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.3603, allocations: 1.262 MB / 449 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.3656, allocations: 3.71 MB / 452.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3656, allocations: 1.891 kB / 452.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3656, allocations: 0.9688 kB / 452.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001396/0.3657, allocations: 0 / 452.7 MB, free: 11.29 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.008628/0.3744, allocations: 2.662 MB / 455.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3744, allocations: 9.969 kB / 455.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005865/0.375, allocations: 263.3 kB / 455.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3763, allocations: 301.3 kB / 455.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.3788, allocations: 1.419 MB / 457.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.71e-05/0.3789, allocations: 135 kB / 457.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.3793, allocations: 186.7 kB / 457.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005391/0.3847, allocations: 2.415 MB / 460.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.3847, allocations: 7.344 kB / 460.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.3849, allocations: 76.14 kB / 460.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.385, allocations: 85.88 kB / 460.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.3885, allocations: 2.018 MB / 462.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.3994, allocations: 7.381 MB / 469.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.401, allocations: 1.213 MB / 470.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.4026, allocations: 0.8644 MB / 471.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.4028, allocations: 116.2 kB / 471.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4029, allocations: 52.05 kB / 471.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.687e-06/0.4029, allocations: 1.406 kB / 471.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009158/0.412, allocations: 4.915 MB / 476.8 MB, free: 292 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4121, allocations: 62.66 kB / 476.8 MB, free: 224 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.4143, allocations: 1.398 MB / 478.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.4144, allocations: 41.45 kB / 478.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007553/0.4152, allocations: 0.9181 MB / 479.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.4155, allocations: 374.1 kB / 479.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.4159, allocations: 217.7 kB / 479.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4161, allocations: 350.5 kB / 480.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.4172, allocations: 0.6386 MB / 480.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.4185, allocations: 0.9235 MB / 481.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.4209, allocations: 1.644 MB / 483.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4209, allocations: 2.406 kB / 483.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004753/0.4256, allocations: 2.384 MB / 485.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4257, allocations: 10.19 kB / 485.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4257, allocations: 6.375 kB / 485.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.4277, allocations: 0.7209 MB / 486.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/0.4286, allocations: 231.3 kB / 486.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.44, allocations: 8.73 MB / 495.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4415, allocations: 87.81 kB / 495.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.4416, allocations: 47.98 kB / 495.5 MB, free: 3.16 MB / 382.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.001254/0.4429, allocations: 0.6335 MB / 496.2 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.4433, allocations: 156.2 kB / 496.3 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.4469, allocations: 1.891 MB / 498.2 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4469, allocations: 13.98 kB / 498.2 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.4469, allocations: 4 kB / 498.2 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.447, allocations: 3.984 kB / 498.2 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007595/0.4546, allocations: 3.991 MB / 0.4905 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.4546, allocations: 4 kB / 0.4905 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.4554, allocations: 182.9 kB / 0.4906 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4568, allocations: 463.5 kB / 0.4911 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/0.4569, allocations: 35.98 kB / 0.4911 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007339/0.4642, allocations: 6.684 MB / 0.4976 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.4642, allocations: 7.5 kB / 0.4976 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.4691, allocations: 2.769 MB / 0.5003 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/0.4701, allocations: 371.9 kB / 0.5007 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.4704, allocations: 27.98 kB / 0.5007 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/0.4712, allocations: 65.8 kB / 0.5008 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4714, allocations: 83.7 kB / 0.5009 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.4715, allocations: 27.98 kB / 0.5009 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00157/0.4731, allocations: 0.9664 MB / 0.5018 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4731, allocations: 0 / 0.5018 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001741/0.4748, allocations: 436 kB / 0.5023 GB, free: 15.91 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.005121/0.4799, allocations: 3.397 MB / 0.5056 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.4837, allocations: 1.948 MB / 0.5075 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4837, allocations: 0 / 0.5075 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.486, allocations: 1.302 MB / 0.5087 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.4884, allocations: 387 kB / 0.5091 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.5168, allocations: 16.39 MB / 0.5251 GB, free: 8.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.5185, allocations: 1.696 MB / 0.5268 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.5195, allocations: 316 kB / 0.5271 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.5205, allocations: 0.7023 MB / 0.5278 GB, free: 5.395 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5205, allocations: 0 / 0.5278 GB, free: 5.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0907/0.6112, allocations: 40.38 MB / 0.5672 GB, free: 13.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/18.41, allocations: 11.94 kB / 0.5672 GB, free: 13.39 MB / 478.1 MB " [Timeout remaining time 641] (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: 21.635744808940217]