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.001027/0.001027, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001175/0.001175, allocations: 167 kB / 25.61 MB, free: 8.605 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.9469/0.9469, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.833e-06/1.833e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.081e-05, allocations: 4.062 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007769/0.00779, allocations: 8.692 MB / 282.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.01272, allocations: 2.871 MB / 285.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.01384, allocations: 59.62 kB / 285.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.01525, allocations: 0.6093 MB / 286.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.01733, allocations: 0.7955 MB / 287.2 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.01797, allocations: 339.3 kB / 287.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.02067, allocations: 2.453 MB / 290 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.02177, allocations: 0.9969 MB / 291 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.02372, allocations: 1.758 MB / 292.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.02489, allocations: 1.231 MB / 294 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.02517, allocations: 272 kB / 294.3 MB, free: 256 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.02575, allocations: 363.9 kB / 294.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.02623, allocations: 0.814 MB / 295.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.02691, allocations: 0.8575 MB / 296.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.02871, allocations: 2.013 MB / 298.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.02872, allocations: 0 / 298.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02872, allocations: 0 / 298.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.02874, allocations: 0 / 298.3 MB, free: 12.2 MB / 282.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.002531/0.03127, allocations: 2.634 MB / 300.9 MB, free: 9.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.0313, allocations: 15.92 kB / 301 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/0.03194, allocations: 443.3 kB / 301.4 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.03313, allocations: 1.22 MB / 302.6 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.0332, allocations: 139.9 kB / 302.7 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.03338, allocations: 180.3 kB / 302.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.03504, allocations: 1.376 MB / 304.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.03508, allocations: 11.95 kB / 304.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.03518, allocations: 75.98 kB / 304.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.03525, allocations: 83.5 kB / 304.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.03601, allocations: 0.5177 MB / 305 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005772/0.04178, allocations: 5.948 MB / 310.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.04277, allocations: 0.514 MB / 311.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.04339, allocations: 461.3 kB / 311.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.04351, allocations: 40.98 kB / 311.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.04354, allocations: 46.38 kB / 312 MB, free: 14.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 2.655e-06/0.04354, allocations: 0 / 312 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.003752/0.0473, allocations: 2.2 MB / 314.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.04733, allocations: 60.41 kB / 314.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.04827, allocations: 1.077 MB / 315.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.04832, allocations: 41.7 kB / 315.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.04884, allocations: 1.026 MB / 316.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.04906, allocations: 372.8 kB / 316.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.04929, allocations: 224.4 kB / 317 MB, free: 9.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.04946, allocations: 0.5315 MB / 317.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.04967, allocations: 154.5 kB / 317.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.05008, allocations: 0.5649 MB / 318.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.05106, allocations: 0.8077 MB / 319 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.05107, allocations: 4 kB / 319 MB, free: 6.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001567/0.05264, allocations: 1.136 MB / 320.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.05266, allocations: 12.23 kB / 320.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.05267, allocations: 12 kB / 320.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.05372, allocations: 499.4 kB / 320.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.05417, allocations: 215.6 kB / 320.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.05813, allocations: 5.391 MB / 326.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.05856, allocations: 43.95 kB / 326.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.05861, allocations: 35.98 kB / 326.3 MB, free: 15.07 MB / 314.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.0003627/0.05898, allocations: 228.4 kB / 326.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.05918, allocations: 179 kB / 326.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.06028, allocations: 0.865 MB / 327.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.06028, allocations: 12 kB / 327.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.06029, allocations: 4 kB / 327.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.0603, allocations: 3.984 kB / 327.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.06287, allocations: 2.137 MB / 329.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.06287, allocations: 0 / 329.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.06326, allocations: 163.8 kB / 329.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.06381, allocations: 262.2 kB / 330.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.06385, allocations: 27.97 kB / 330.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.06678, allocations: 6.029 MB / 336.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.06678, allocations: 3.938 kB / 336.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.06808, allocations: 1.242 MB / 337.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.06837, allocations: 219 kB / 337.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.06848, allocations: 31.98 kB / 337.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.0688, allocations: 35.98 kB / 337.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.06892, allocations: 88.84 kB / 337.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.06895, allocations: 23.98 kB / 337.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004358/0.06939, allocations: 0.5995 MB / 338.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06939, allocations: 0 / 338.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.07024, allocations: 423.9 kB / 338.9 MB, free: 1.988 MB / 314.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.0002434/0.07048, allocations: 179 kB / 339.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.0719, allocations: 1.181 MB / 340.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0719, allocations: 0 / 340.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.07263, allocations: 0.9431 MB / 341.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.07347, allocations: 331.6 kB / 341.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.07691, allocations: 3.352 MB / 344.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.07728, allocations: 0.5153 MB / 345.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.07764, allocations: 167.2 kB / 345.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.07818, allocations: 386 kB / 345.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.07818, allocations: 4 kB / 345.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of Templates: time 0.1269/0.2051, allocations: 24.08 MB / 370 MB, free: 75.88 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.4557420290075243]