Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001034/0.001034, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001239/0.001239, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.9786/0.9786, allocations: 177.1 MB / 205.3 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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.761e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009833/0.009861, allocations: 7.926 MB / 281 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.0147, allocations: 2.575 MB / 283.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009228/0.01562, allocations: 27.88 kB / 283.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.01708, allocations: 0.5169 MB / 284.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01813, allocations: 0.5039 MB / 284.6 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.01861, allocations: 243.7 kB / 284.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.02028, allocations: 1.486 MB / 286.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.02093, allocations: 379.2 kB / 286.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.02208, allocations: 0.8457 MB / 287.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.02272, allocations: 466.6 kB / 288 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.0229, allocations: 136 kB / 288.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.02319, allocations: 168 kB / 288.3 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.02337, allocations: 286.9 kB / 288.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.02383, allocations: 454.9 kB / 289 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.02508, allocations: 0.9106 MB / 289.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.02509, allocations: 3.938 kB / 290 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02509, allocations: 0 / 290 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.02513, allocations: 0 / 290 MB, free: 0.8477 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1144/0.1396, allocations: 1.486 MB / 291.4 MB, free: 29.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1396, allocations: 10.59 kB / 291.4 MB, free: 29.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.1401, allocations: 254.1 kB / 291.7 MB, free: 28.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.1409, allocations: 0.6707 MB / 292.4 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.141, allocations: 71.44 kB / 292.4 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.1411, allocations: 99.16 kB / 292.5 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.142, allocations: 0.789 MB / 293.3 MB, free: 28.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.142, allocations: 10.61 kB / 293.3 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.1421, allocations: 39.03 kB / 293.4 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1421, allocations: 25.22 kB / 293.4 MB, free: 28.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005823/0.1427, allocations: 342.2 kB / 293.7 MB, free: 28.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.1455, allocations: 3.622 MB / 297.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1459, allocations: 201.9 kB / 297.5 MB, free: 25.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.146, allocations: 86 kB / 297.6 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.146, allocations: 10.06 kB / 297.6 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.146, allocations: 44.27 kB / 297.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.146, allocations: 0 / 297.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00115/0.1472, allocations: 0.8309 MB / 298.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.1472, allocations: 80.39 kB / 298.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.1479, allocations: 0.745 MB / 299.3 MB, free: 24.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1479, allocations: 36.45 kB / 299.4 MB, free: 24.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.1481, allocations: 0.6407 MB / 300 MB, free: 24.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.1482, allocations: 137.5 kB / 300.2 MB, free: 24.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1483, allocations: 133.1 kB / 300.3 MB, free: 23.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1484, allocations: 0.5651 MB / 300.8 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1485, allocations: 72.73 kB / 300.9 MB, free: 23.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.1487, allocations: 0.5297 MB / 301.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.1491, allocations: 0.6374 MB / 302.1 MB, free: 22.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1492, allocations: 3.156 kB / 302.1 MB, free: 22.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000665/0.1498, allocations: 0.5736 MB / 302.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1498, allocations: 9.969 kB / 302.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1498, allocations: 9.375 kB / 302.7 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.15, allocations: 40.62 kB / 302.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.1503, allocations: 157.5 kB / 302.9 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/0.1508, allocations: 1.751 MB / 304.6 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.1511, allocations: 34.38 kB / 304.7 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1511, allocations: 37.22 kB / 304.7 MB, free: 20.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.1512, allocations: 203 kB / 304.9 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.1513, allocations: 94.45 kB / 305 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.1517, allocations: 283.7 kB / 305.3 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1517, allocations: 4.094 kB / 305.3 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1517, allocations: 0 / 305.3 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1517, allocations: 3.219 kB / 305.3 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1528, allocations: 1.024 MB / 306.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1528, allocations: 2.312 kB / 306.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.153, allocations: 70.75 kB / 306.4 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.1531, allocations: 20.92 kB / 306.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1531, allocations: 13 kB / 306.4 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004581/0.1536, allocations: 1.736 MB / 308.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1536, allocations: 5.281 kB / 308.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.154, allocations: 0.5474 MB / 308.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1541, allocations: 104.5 kB / 308.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.1542, allocations: 12.83 kB / 308.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1544, allocations: 22.41 kB / 308.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.1544, allocations: 31.59 kB / 308.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1545, allocations: 12.86 kB / 308.9 MB, free: 16.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004295/0.1549, allocations: 472.8 kB / 309.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1549, allocations: 0 / 309.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000628/0.1555, allocations: 191.7 kB / 309.5 MB, free: 16.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.0002209/0.1557, allocations: 123.5 kB / 309.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.1564, allocations: 474.9 kB / 310.1 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1564, allocations: 0 / 310.1 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1566, allocations: 270.9 kB / 310.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.1572, allocations: 194.2 kB / 310.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1594, allocations: 1.589 MB / 312.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.1595, allocations: 166.3 kB / 312.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.1597, allocations: 102.5 kB / 312.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.1598, allocations: 48.5 kB / 312.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1598, allocations: 0 / 312.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Templates: time 0.0121/0.1719, allocations: 8.997 MB / 321.4 MB, free: 5.648 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.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.096577028045431]