Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001697/0.001697, 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.001336/0.001336, allocations: 168.5 kB / 24.99 MB, free: 8.344 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.641 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.253e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.00868/0.008702, allocations: 9.611 MB / 282.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.01446, allocations: 3.697 MB / 286.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.01567, allocations: 59.62 kB / 286.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.01722, allocations: 0.6675 MB / 287.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.01925, allocations: 0.9431 MB / 288.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.0201, allocations: 494.8 kB / 288.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1255/0.1456, allocations: 2.745 MB / 291.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.1473, allocations: 1.076 MB / 292.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.1498, allocations: 1.776 MB / 294.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.152, allocations: 1.407 MB / 295.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008223/0.1529, allocations: 308.5 kB / 295.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.154, allocations: 0.5581 MB / 296.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1551, allocations: 1.077 MB / 297.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.1568, allocations: 1.013 MB / 298.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.1598, allocations: 2.503 MB / 301 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1598, allocations: 2.031 kB / 301 MB, free: 14.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1598, allocations: 0 / 301 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.514e-05/0.1598, allocations: 4.562 kB / 301 MB, free: 14.65 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004092/0.1639, allocations: 3.353 MB / 304.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.164, allocations: 9.594 kB / 304.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.165, allocations: 0.528 MB / 304.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.1666, allocations: 1.559 MB / 306.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.1667, allocations: 152.3 kB / 306.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.1669, allocations: 211.8 kB / 306.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.169, allocations: 1.672 MB / 308.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.1691, allocations: 6.672 kB / 308.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.1692, allocations: 83.91 kB / 308.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.1693, allocations: 96.89 kB / 308.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1707, allocations: 0.7682 MB / 309.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007431/0.1781, allocations: 6.715 MB / 316.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.1794, allocations: 0.7704 MB / 316.9 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.1802, allocations: 0.5734 MB / 317.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.1804, allocations: 52.97 kB / 317.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1804, allocations: 52.91 kB / 317.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 3.537e-06/0.1804, allocations: 0 / 317.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005954/0.1864, allocations: 3.691 MB / 321.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1864, allocations: 64.72 kB / 321.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.1883, allocations: 1.655 MB / 323 MB, free: 14.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.1883, allocations: 53.7 kB / 323.1 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006648/0.189, allocations: 1.246 MB / 324.3 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.1893, allocations: 484.3 kB / 324.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.1896, allocations: 244.6 kB / 325 MB, free: 12.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1897, allocations: 0.5355 MB / 325.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.1902, allocations: 243.8 kB / 325.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005838/0.1908, allocations: 0.5936 MB / 326.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.1919, allocations: 0.9234 MB / 327.3 MB, free: 9.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1919, allocations: 0 / 327.3 MB, free: 9.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002499/0.1944, allocations: 1.518 MB / 328.8 MB, free: 8.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1944, allocations: 15.92 kB / 328.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1944, allocations: 4 kB / 328.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.1958, allocations: 0.5819 MB / 329.4 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.1964, allocations: 262.8 kB / 329.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.2022, allocations: 6.449 MB / 336.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.2031, allocations: 91.89 kB / 336.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.2032, allocations: 51.98 kB / 336.3 MB, free: 420 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006813/0.2039, allocations: 233.8 kB / 336.5 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.2042, allocations: 242.9 kB / 336.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.2062, allocations: 1.326 MB / 338.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.2063, allocations: 16 kB / 338.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2063, allocations: 4 kB / 338.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2063, allocations: 11.97 kB / 338.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.2109, allocations: 3.256 MB / 341.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2109, allocations: 0 / 341.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.2114, allocations: 210.2 kB / 341.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.2126, allocations: 463.4 kB / 342 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.2127, allocations: 35.98 kB / 342.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.2176, allocations: 7.527 MB / 349.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2176, allocations: 7.969 kB / 349.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.2203, allocations: 1.811 MB / 351.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.2209, allocations: 338.6 kB / 351.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.2211, allocations: 27.98 kB / 351.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.2215, allocations: 79.58 kB / 351.8 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.2218, allocations: 104.8 kB / 351.9 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.2218, allocations: 43.97 kB / 352 MB, free: 332 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.223, allocations: 0.9857 MB / 353 MB, free: 15.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.223, allocations: 4 kB / 353 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001462/0.2245, allocations: 0.5233 MB / 353.5 MB, free: 14.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009918/0.2254, allocations: 451 kB / 353.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.2276, allocations: 1.52 MB / 355.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2276, allocations: 0 / 355.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.229, allocations: 1.218 MB / 356.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2302, allocations: 414.6 kB / 357.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.2361, allocations: 4.269 MB / 361.3 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.2367, allocations: 0.6446 MB / 362 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007767/0.2375, allocations: 302.8 kB / 362.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.2378, allocations: 128.5 kB / 362.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.974e-06/0.2378, allocations: 0 / 362.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of Templates: time 0.03958/0.2773, allocations: 29.73 MB / 392.1 MB, free: 8.582 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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: 4.191249875118956]