Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 86.8 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 180.9 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.3 MB / 241.2 MB, free: 5.188 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002827, allocations: 8.812 kB / 300.8 MB, free: 5.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 50.42 MB / 351.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0119/0.1446, allocations: 10.45 MB / 361.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008329/0.153, allocations: 3.546 MB / 365.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.1551, allocations: 63.69 kB / 365.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.1585, allocations: 0.6834 MB / 366 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.1623, allocations: 0.9363 MB / 366.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1634, allocations: 295.6 kB / 367.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.1689, allocations: 4.362 MB / 371.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.1723, allocations: 2.284 MB / 373.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.1752, allocations: 1.412 MB / 375.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.1791, allocations: 1.911 MB / 377.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007276/0.1798, allocations: 212 kB / 377.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.1812, allocations: 267.9 kB / 377.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.1826, allocations: 1.047 MB / 378.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.184, allocations: 0.7498 MB / 379.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.1905, allocations: 5.279 MB / 384.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.1905, allocations: 0 / 384.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.16e-06/0.1906, allocations: 0 / 384.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.1909, allocations: 4 kB / 384.7 MB, free: 9.688 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01041/0.2013, allocations: 3.683 MB / 388.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.2014, allocations: 8.031 kB / 388.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.203, allocations: 443 kB / 388.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00462/0.2076, allocations: 2.254 MB / 391.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.2078, allocations: 226.2 kB / 391.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.2084, allocations: 311.8 kB / 391.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/0.2167, allocations: 4.356 MB / 396 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.2168, allocations: 7.938 kB / 396 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.2171, allocations: 135.9 kB / 396.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.2173, allocations: 130 kB / 396.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/0.2242, allocations: 3.771 MB / 400 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02271/0.247, allocations: 13.59 MB / 413.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.2507, allocations: 2.884 MB / 416.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.2535, allocations: 1.704 MB / 418.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.2539, allocations: 130.3 kB / 418.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.2539, allocations: 63.8 kB / 418.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 4.178e-06/0.254, allocations: 0 / 418.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.2556/0.5096, allocations: 9.045 MB / 427.5 MB, free: 61.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.5097, allocations: 72.84 kB / 427.5 MB, free: 61.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.5135, allocations: 2.334 MB / 429.9 MB, free: 60.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.5139, allocations: 55.08 kB / 429.9 MB, free: 60.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.515, allocations: 1.471 MB / 431.4 MB, free: 60.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005816/0.5156, allocations: 0.6015 MB / 432 MB, free: 60 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5157, allocations: 36.69 kB / 432 MB, free: 60 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5158, allocations: 388.9 kB / 432.4 MB, free: 59.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.518, allocations: 1.127 MB / 433.5 MB, free: 59.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.5206, allocations: 1.571 MB / 435.1 MB, free: 59.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.5229, allocations: 1.339 MB / 436.4 MB, free: 59.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.523, allocations: 4.469 kB / 436.4 MB, free: 59.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006209/0.5292, allocations: 3.595 MB / 440 MB, free: 57.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.5292, allocations: 10.78 kB / 440 MB, free: 57.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.5293, allocations: 16 kB / 440.1 MB, free: 57.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.5311, allocations: 0.8022 MB / 440.9 MB, free: 57.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.5326, allocations: 456 kB / 441.3 MB, free: 57.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.541, allocations: 10.29 MB / 451.6 MB, free: 49.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.5432, allocations: 137.1 kB / 451.7 MB, free: 49.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.5434, allocations: 75 kB / 451.8 MB, free: 49.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002013/0.5454, allocations: 1.087 MB / 452.9 MB, free: 48.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.5459, allocations: 245.1 kB / 453.1 MB, free: 48.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/0.5507, allocations: 3.308 MB / 456.4 MB, free: 46.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.5508, allocations: 18.06 kB / 456.5 MB, free: 46.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.5508, allocations: 15.08 kB / 456.5 MB, free: 46.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.5508, allocations: 11.95 kB / 456.5 MB, free: 46.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/0.5604, allocations: 6.891 MB / 463.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.5604, allocations: 0 / 463.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.5616, allocations: 295.6 kB / 463.7 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.5635, allocations: 0.9205 MB / 464.6 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.5636, allocations: 39.98 kB / 464.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009546/0.5732, allocations: 13.47 MB / 478.1 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5732, allocations: 0 / 478.1 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/0.5796, allocations: 4.874 MB / 483 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.5809, allocations: 0.5688 MB / 483.5 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.5812, allocations: 35.98 kB / 483.6 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5824, allocations: 131.9 kB / 483.7 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.5827, allocations: 157.7 kB / 483.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5828, allocations: 51.98 kB / 483.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002182/0.585, allocations: 1.615 MB / 485.5 MB, free: 17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.585, allocations: 0 / 485.5 MB, free: 17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002374/0.5874, allocations: 0.7031 MB / 486.2 MB, free: 16.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.5878, allocations: 178 kB / 486.4 MB, free: 16.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.5923, allocations: 3.591 MB / 490 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.5923, allocations: 4 kB / 490 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.5951, allocations: 2.516 MB / 492.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.5983, allocations: 0.6804 MB / 493.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009914/0.6082, allocations: 7.952 MB / 0.4894 GB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.6104, allocations: 2.517 MB / 0.4919 GB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002136/0.6126, allocations: 0.5827 MB / 0.4924 GB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.6131, allocations: 159.4 kB / 0.4926 GB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6131, allocations: 0 / 0.4926 GB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.07809/0.6912, allocations: 38.85 MB / 0.5305 GB, free: 7.34 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches