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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002272, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002269, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8497/0.8497, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1499/0.9996, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.137e-06/1.064e-05, allocations: 2.312 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00688/0.006891, allocations: 8.755 MB / 248.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.01072, allocations: 2.924 MB / 251.4 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.01126, allocations: 52.34 kB / 251.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008944/0.01215, allocations: 0.6118 MB / 252.1 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.0133, allocations: 0.7994 MB / 252.9 MB, free: 9.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.01371, allocations: 323.4 kB / 253.2 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.01535, allocations: 2.465 MB / 255.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008488/0.0162, allocations: 1.013 MB / 256.7 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.01788, allocations: 1.903 MB / 258.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009594/0.01884, allocations: 1.22 MB / 259.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.01906, allocations: 272 kB / 260.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.01947, allocations: 359.8 kB / 260.4 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.01987, allocations: 0.6624 MB / 261.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.0204, allocations: 0.7097 MB / 261.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.02173, allocations: 1.877 MB / 263.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.02173, allocations: 0 / 263.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.02173, allocations: 0 / 263.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.02176, allocations: 3.938 kB / 263.7 MB, free: 14.3 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.002511/0.02427, allocations: 2.808 MB / 266.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.0243, allocations: 11.98 kB / 266.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.02481, allocations: 417.8 kB / 266.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.02576, allocations: 0.9238 MB / 267.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.02583, allocations: 132 kB / 268 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.02599, allocations: 192.3 kB / 268.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.02727, allocations: 1.395 MB / 269.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.02731, allocations: 11.89 kB / 269.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.0274, allocations: 76 kB / 269.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.02746, allocations: 87.48 kB / 269.7 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.02814, allocations: 0.5149 MB / 270.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.03249, allocations: 4.791 MB / 275 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.03308, allocations: 0.5358 MB / 275.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.0336, allocations: 435 kB / 276 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.0337, allocations: 36.98 kB / 276 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.03373, allocations: 43.56 kB / 276.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.924e-06/0.03373, allocations: 0 / 276.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003264/0.037, allocations: 2.224 MB / 278.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.03703, allocations: 60.41 kB / 278.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.03771, allocations: 0.8788 MB / 279.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.03776, allocations: 41.7 kB / 279.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.03806, allocations: 0.7637 MB / 280 MB, free: 13.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.03823, allocations: 368.8 kB / 280.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.03842, allocations: 206.8 kB / 280.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.03851, allocations: 353.8 kB / 280.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.03869, allocations: 141.4 kB / 281.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.03898, allocations: 432.3 kB / 281.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.03956, allocations: 0.7287 MB / 282.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.03956, allocations: 4 kB / 282.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001171/0.04074, allocations: 0.9275 MB / 283.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.04075, allocations: 12.25 kB / 283.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.04077, allocations: 12 kB / 283.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009437/0.04171, allocations: 484.9 kB / 283.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.0422, allocations: 251.6 kB / 283.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.04552, allocations: 4.17 MB / 288.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.04585, allocations: 48.05 kB / 288.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.04589, allocations: 32 kB / 288.1 MB, free: 4.898 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.0002329/0.04613, allocations: 188.5 kB / 288.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.04627, allocations: 115.8 kB / 288.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008804/0.04715, allocations: 0.7468 MB / 289.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.04715, allocations: 8 kB / 289.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.04716, allocations: 4 kB / 289.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.04716, allocations: 3.984 kB / 289.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.04915, allocations: 1.841 MB / 291 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.04915, allocations: 7.984 kB / 291 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.04958, allocations: 188 kB / 291.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.0498, allocations: 171.1 kB / 291.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/0.05034, allocations: 303.1 kB / 291.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.05038, allocations: 27.98 kB / 291.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.05267, allocations: 4.381 MB / 296.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.05267, allocations: 3.938 kB / 296.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.05374, allocations: 1.066 MB / 297.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.05383, allocations: 27.98 kB / 297.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.05411, allocations: 35.98 kB / 297.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.05422, allocations: 80.78 kB / 297.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.05425, allocations: 23.98 kB / 297.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003229/0.05458, allocations: 448.5 kB / 297.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05458, allocations: 4 kB / 297.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.05521, allocations: 419.9 kB / 298.2 MB, free: 10.37 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.0002201/0.05543, allocations: 164.2 kB / 298.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000962/0.05639, allocations: 1.015 MB / 299.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.194e-05/0.05643, allocations: 27.22 kB / 299.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.05709, allocations: 0.7848 MB / 300.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.05864, allocations: 3.146 MB / 303.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.07033, allocations: 3.31 MB / 306.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.07076, allocations: 467.7 kB / 307.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.07112, allocations: 163.2 kB / 307.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.07161, allocations: 349.1 kB / 307.6 MB, free: 180 kB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07161, allocations: 0 / 307.6 MB, free: 180 kB / 298.7 MB Notification: Performance of Templates: time 0.02584/0.09745, allocations: 24.35 MB / 331.9 MB, free: 8.172 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.940958603285253]