Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9642/0.9642, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.632e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009201/0.009227, allocations: 8.917 MB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.01347, allocations: 2.898 MB / 284.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.01409, allocations: 55.62 kB / 284.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.01517, allocations: 0.6016 MB / 285.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01647, allocations: 0.8072 MB / 286.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.01696, allocations: 339.4 kB / 286.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.01887, allocations: 2.465 MB / 289.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.01988, allocations: 0.9892 MB / 290.1 MB, free: 356 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1209/0.1408, allocations: 1.743 MB / 291.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.1428, allocations: 1.22 MB / 293 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005634/0.1434, allocations: 271 kB / 293.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.144, allocations: 369.1 kB / 293.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.1447, allocations: 0.8154 MB / 294.5 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.1459, allocations: 0.8594 MB / 295.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.1487, allocations: 2.014 MB / 297.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1487, allocations: 0.5625 kB / 297.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1487, allocations: 1.312 kB / 297.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.168e-05/0.1488, allocations: 1.125 kB / 297.3 MB, free: 16.39 MB / 266.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.003522/0.1523, allocations: 2.688 MB / 300 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1523, allocations: 10.19 kB / 300 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008189/0.1532, allocations: 448.1 kB / 300.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.1546, allocations: 1.283 MB / 301.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.1547, allocations: 140 kB / 301.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.1549, allocations: 184 kB / 302.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.1568, allocations: 1.478 MB / 303.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.1568, allocations: 12.59 kB / 303.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.1569, allocations: 79.09 kB / 303.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.772e-05/0.157, allocations: 86.11 kB / 303.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1581, allocations: 0.6578 MB / 304.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.1629, allocations: 6.034 MB / 310.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.1637, allocations: 0.5741 MB / 311 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.1644, allocations: 0.5142 MB / 311.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.1645, allocations: 44.41 kB / 311.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1645, allocations: 45.86 kB / 311.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.225e-06/0.1645, allocations: 0 / 311.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003533/0.168, allocations: 2.657 MB / 314.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.1681, allocations: 65 kB / 314.3 MB, free: 6.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.1689, allocations: 1.101 MB / 315.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.1689, allocations: 49.7 kB / 315.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.1692, allocations: 1.01 MB / 316.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1694, allocations: 379.3 kB / 316.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1695, allocations: 212.5 kB / 317.1 MB, free: 4.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.1696, allocations: 0.5341 MB / 317.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.1699, allocations: 194.5 kB / 317.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.1703, allocations: 0.6003 MB / 318.4 MB, free: 2.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.171, allocations: 0.9039 MB / 319.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.171, allocations: 0 / 319.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001502/0.1725, allocations: 1.267 MB / 320.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1725, allocations: 8 kB / 320.6 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1725, allocations: 12 kB / 320.6 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/0.1735, allocations: 0.5029 MB / 321.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.1739, allocations: 237.2 kB / 321.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.1784, allocations: 5.697 MB / 327 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.1788, allocations: 72.06 kB / 327.1 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.1788, allocations: 47.98 kB / 327.1 MB, free: 9.73 MB / 282.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 () * 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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.1791, allocations: 227.5 kB / 327.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.1793, allocations: 171.1 kB / 327.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.1805, allocations: 0.9609 MB / 328.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1805, allocations: 12 kB / 328.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1805, allocations: 0 / 328.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1805, allocations: 3.984 kB / 328.5 MB, free: 8.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.1836, allocations: 2.592 MB / 331.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1836, allocations: 4.219 kB / 331.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.184, allocations: 182.9 kB / 331.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.1846, allocations: 270.4 kB / 331.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.1846, allocations: 27.98 kB / 331.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.1878, allocations: 6.169 MB / 337.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1878, allocations: 4.031 kB / 337.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.1893, allocations: 1.373 MB / 339.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.1896, allocations: 255 kB / 339.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.1897, allocations: 23.94 kB / 339.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.1901, allocations: 55.94 kB / 339.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.1902, allocations: 88.3 kB / 339.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.1902, allocations: 31.98 kB / 339.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000607/0.1908, allocations: 0.6544 MB / 340.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1908, allocations: 0 / 340.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008174/0.1917, allocations: 420 kB / 340.6 MB, free: 11.8 MB / 298.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003217/0.192, allocations: 188.9 kB / 340.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1934, allocations: 1.256 MB / 342 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1934, allocations: 0 / 342 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000857/0.1942, allocations: 1.01 MB / 343.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.1955, allocations: 340.9 kB / 343.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.1997, allocations: 3.395 MB / 346.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.2001, allocations: 0.5075 MB / 347.3 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004466/0.2005, allocations: 247 kB / 347.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.2007, allocations: 92.48 kB / 347.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of SimCode: time 2.314e-06/0.2007, allocations: 0 / 347.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of Templates: time 0.02612/0.2268, allocations: 23.24 MB / 370.9 MB, free: 13.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2844556807540357]