Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.4 kB / 8.345 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.48 kB / 281.2 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.502e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08071/0.08075, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.4499, allocations: 102.4 MB / 489.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4502, allocations: 79.95 kB / 489.9 MB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1063/0.5565, allocations: 40.66 MB / 0.5182 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5566, allocations: 0 / 0.5182 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.5567, allocations: 51.88 kB / 0.5182 GB, free: 15.29 MB / 410.7 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.00399/0.5607, allocations: 1.992 MB / 0.5202 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5608, allocations: 8.031 kB / 0.5202 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007216/0.5615, allocations: 273 kB / 0.5204 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.5639, allocations: 1.4 MB / 0.5218 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.5639, allocations: 64 kB / 0.5219 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.5642, allocations: 111.9 kB / 0.522 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002745/0.5669, allocations: 1.745 MB / 0.5237 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/0.57, allocations: 2.055 MB / 0.5257 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.5701, allocations: 15.94 kB / 0.5257 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.5703, allocations: 7.938 kB / 0.5257 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/0.5703, allocations: 79.5 kB / 0.5258 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009882/0.5802, allocations: 7.136 MB / 0.5327 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5818, allocations: 1.238 MB / 0.5339 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.5828, allocations: 0.724 MB / 0.5347 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.5831, allocations: 129.8 kB / 0.5348 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5831, allocations: 44 kB / 0.5348 GB, free: 13.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/0.5831, allocations: 4 kB / 0.5348 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.006709/0.5898, allocations: 3.926 MB / 0.5387 GB, free: 9.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.5899, allocations: 60.72 kB / 0.5387 GB, free: 9.723 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5912, allocations: 0.9929 MB / 0.5397 GB, free: 8.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.5912, allocations: 25.7 kB / 0.5397 GB, free: 8.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/0.5918, allocations: 0.8999 MB / 0.5406 GB, free: 7.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.592, allocations: 350.8 kB / 0.5409 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.5921, allocations: 0 / 0.5409 GB, free: 7.426 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5922, allocations: 361.8 kB / 0.5413 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.593, allocations: 0.5844 MB / 0.5418 GB, free: 6.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/0.5939, allocations: 0.8652 MB / 0.5427 GB, free: 5.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.5948, allocations: 0.7246 MB / 0.5434 GB, free: 4.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5948, allocations: 4 kB / 0.5434 GB, free: 4.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003455/0.5983, allocations: 2.254 MB / 0.5456 GB, free: 2.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5983, allocations: 13.25 kB / 0.5456 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5983, allocations: 8 kB / 0.5456 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.6001, allocations: 0.7667 MB / 0.5464 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.601, allocations: 239.7 kB / 0.5466 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2141/0.8151, allocations: 8.174 MB / 0.5546 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8164, allocations: 60.34 kB / 0.5546 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.8166, allocations: 46.88 kB / 0.5547 GB, free: 109 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.8169, allocations: 132 kB / 0.5548 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.8172, allocations: 134.8 kB / 0.5549 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.8206, allocations: 1.783 MB / 0.5567 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.8206, allocations: 14.25 kB / 0.5567 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.8206, allocations: 3.594 kB / 0.5567 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.8206, allocations: 5.344 kB / 0.5567 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/0.8282, allocations: 3.625 MB / 0.5602 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8282, allocations: 3.5 kB / 0.5602 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.8291, allocations: 195.4 kB / 0.5604 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.8305, allocations: 460.2 kB / 0.5609 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.8306, allocations: 17.72 kB / 0.5609 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/0.836, allocations: 5.908 MB / 0.5667 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.836, allocations: 2.25 kB / 0.5667 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.8402, allocations: 2.745 MB / 0.5693 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/0.841, allocations: 343.1 kB / 0.5697 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.8412, allocations: 9.234 kB / 0.5697 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/0.842, allocations: 59.39 kB / 0.5697 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.8422, allocations: 88.05 kB / 0.5698 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.8423, allocations: 36.55 kB / 0.5698 GB, free: 104.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.8435, allocations: 0.7505 MB / 0.5706 GB, free: 104 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8435, allocations: 3.656 kB / 0.5706 GB, free: 104 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001721/0.8452, allocations: 411.4 kB / 0.571 GB, free: 104 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005168/0.8457, allocations: 272.8 kB / 0.5712 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.8487, allocations: 1.91 MB / 0.5731 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8487, allocations: 0 / 0.5731 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.8504, allocations: 1.284 MB / 0.5744 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.8519, allocations: 271.1 kB / 0.5746 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.8571, allocations: 3.225 MB / 0.5778 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8582, allocations: 1.729 MB / 0.5794 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.8592, allocations: 295.3 kB / 0.5797 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.8595, allocations: 92.23 kB / 0.5798 GB, free: 100.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8595, allocations: 4 kB / 0.5798 GB, free: 100.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02953/0.889, allocations: 19.58 MB / 0.5989 GB, free: 99.05 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches