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.0008696/0.0008696, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001511/0.001511, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 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.9482/0.9482, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.142e-06/1.142e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.979e-05, allocations: 5.266 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007424/0.007443, allocations: 8.886 MB / 282 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01148, allocations: 2.886 MB / 284.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.01203, allocations: 59.62 kB / 284.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009824/0.01301, allocations: 0.5938 MB / 285.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.01417, allocations: 0.8111 MB / 286.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.01456, allocations: 335.4 kB / 286.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.01632, allocations: 2.466 MB / 289.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.01719, allocations: 0.9852 MB / 290.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1192/0.1363, allocations: 1.606 MB / 291.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1383, allocations: 1.267 MB / 293 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.1389, allocations: 279.2 kB / 293.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.1396, allocations: 379 kB / 293.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.1402, allocations: 0.8397 MB / 294.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.1415, allocations: 0.8875 MB / 295.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.144, allocations: 2.052 MB / 297.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.144, allocations: 0 / 297.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.144, allocations: 1.75 kB / 297.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.848e-05/0.1441, allocations: 0.75 kB / 297.4 MB, free: 15.86 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.003828/0.1479, allocations: 2.727 MB / 300.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.148, allocations: 14.19 kB / 300.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/0.1488, allocations: 452.1 kB / 300.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.1504, allocations: 1.285 MB / 301.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.1505, allocations: 135 kB / 302 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.1507, allocations: 186.9 kB / 302.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.1526, allocations: 1.486 MB / 303.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.1527, allocations: 6.547 kB / 303.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.1528, allocations: 80.28 kB / 303.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-05/0.1529, allocations: 82.06 kB / 303.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.154, allocations: 0.6656 MB / 304.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.1593, allocations: 6.133 MB / 310.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.16, allocations: 0.5396 MB / 311.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006863/0.1607, allocations: 0.5061 MB / 311.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1609, allocations: 46.31 kB / 311.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1609, allocations: 57.05 kB / 311.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.1609, allocations: 0 / 311.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.00395/0.1649, allocations: 2.691 MB / 314.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1649, allocations: 64.39 kB / 314.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/0.1658, allocations: 1.109 MB / 315.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.1659, allocations: 41.7 kB / 315.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.1662, allocations: 1.01 MB / 316.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1664, allocations: 377.3 kB / 317 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.1666, allocations: 220.5 kB / 317.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.1667, allocations: 0.5238 MB / 317.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.167, allocations: 203.9 kB / 318 MB, free: 3.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.1674, allocations: 0.5993 MB / 318.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.1683, allocations: 0.9029 MB / 319.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1683, allocations: 0 / 319.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001731/0.17, allocations: 1.306 MB / 320.8 MB, free: 500 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1701, allocations: 8 kB / 320.8 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1701, allocations: 11.94 kB / 320.8 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.1713, allocations: 0.5303 MB / 321.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.1718, allocations: 226.8 kB / 321.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005211/0.177, allocations: 5.822 MB / 327.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.1775, allocations: 83.86 kB / 327.5 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.1776, allocations: 44 kB / 327.5 MB, free: 9.574 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.1782, allocations: 228.3 kB / 327.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.1784, allocations: 171.1 kB / 327.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.1797, allocations: 0.9578 MB / 328.9 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.1797, allocations: 12 kB / 328.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1797, allocations: 8 kB / 328.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.1797, allocations: 15.89 kB / 328.9 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.183, allocations: 2.618 MB / 331.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.183, allocations: 7.938 kB / 331.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.1835, allocations: 178.8 kB / 331.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000639/0.1841, allocations: 295.7 kB / 332 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.1842, allocations: 23.98 kB / 332 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.1875, allocations: 6.237 MB / 338.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1875, allocations: 11.94 kB / 338.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1892, allocations: 1.376 MB / 339.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.1896, allocations: 259 kB / 339.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.1897, allocations: 27.98 kB / 339.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.1901, allocations: 59.94 kB / 340 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.1903, allocations: 88.3 kB / 340.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.1903, allocations: 27.98 kB / 340.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006808/0.191, allocations: 0.666 MB / 340.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.191, allocations: 0 / 340.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001131/0.1921, allocations: 431.9 kB / 341.2 MB, free: 11.46 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%), (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.0002799/0.1924, allocations: 194.3 kB / 341.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.194, allocations: 1.313 MB / 342.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.194, allocations: 0 / 342.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009337/0.1949, allocations: 1.042 MB / 343.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.1958, allocations: 345.1 kB / 344 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.2002, allocations: 3.385 MB / 347.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.2006, allocations: 0.5192 MB / 348 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006576/0.2013, allocations: 243 kB / 348.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.2015, allocations: 96.48 kB / 348.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2015, allocations: 0 / 348.3 MB, free: 4.242 MB / 298.7 MB Notification: Performance of Templates: time 0.02786/0.2293, allocations: 23.25 MB / 371.5 MB, free: 13.34 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.451970445923507]