Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001821/0.001821, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002128, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.506e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01084/0.01087, allocations: 7.302 MB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.01621, allocations: 2.564 MB / 282.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006107/0.01683, allocations: 27.88 kB / 282.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.01826, allocations: 0.5401 MB / 282.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.01939, allocations: 0.5194 MB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.01993, allocations: 275.5 kB / 283.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.02172, allocations: 1.567 MB / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.02239, allocations: 371.3 kB / 285.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.02357, allocations: 0.8768 MB / 286.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.02423, allocations: 454.6 kB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.02442, allocations: 144 kB / 286.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.02476, allocations: 184 kB / 287 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.02504, allocations: 290.8 kB / 287.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.0256, allocations: 466.9 kB / 287.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.02801, allocations: 1.768 MB / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.02801, allocations: 0 / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02801, allocations: 0 / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.02803, allocations: 0 / 289.5 MB, free: 408 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.113/0.141, allocations: 1.428 MB / 290.9 MB, free: 28.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.141, allocations: 15.02 kB / 290.9 MB, free: 28.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.1419, allocations: 283.2 kB / 291.2 MB, free: 28.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.1431, allocations: 0.719 MB / 291.9 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1431, allocations: 73 kB / 292 MB, free: 28.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1433, allocations: 103.4 kB / 292.1 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1448, allocations: 1.045 MB / 293.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.1448, allocations: 3.391 kB / 293.2 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.1449, allocations: 40.78 kB / 293.2 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.1449, allocations: 26.48 kB / 293.2 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1461, allocations: 0.6532 MB / 293.9 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.1502, allocations: 3.431 MB / 297.3 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.1508, allocations: 349.9 kB / 297.7 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.1514, allocations: 267.8 kB / 297.9 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1514, allocations: 8.359 kB / 297.9 MB, free: 24.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.1514, allocations: 37.73 kB / 298 MB, free: 24.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.774e-06/0.1514, allocations: 0.6562 kB / 298 MB, free: 24.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002761/0.1542, allocations: 1.349 MB / 299.3 MB, free: 24.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1542, allocations: 81.48 kB / 299.4 MB, free: 24.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.1552, allocations: 0.7809 MB / 300.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1552, allocations: 36.62 kB / 300.2 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.1555, allocations: 0.5857 MB / 300.8 MB, free: 23.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.1555, allocations: 171 kB / 301 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.1557, allocations: 130.8 kB / 301.1 MB, free: 23.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1558, allocations: 388.2 kB / 301.5 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1561, allocations: 172.2 kB / 301.6 MB, free: 22.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.1566, allocations: 495.2 kB / 302.1 MB, free: 22.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.1573, allocations: 0.6913 MB / 302.8 MB, free: 21.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.1573, allocations: 3.625 kB / 302.8 MB, free: 21.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001359/0.1587, allocations: 0.8076 MB / 303.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1587, allocations: 9.812 kB / 303.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.1587, allocations: 13.62 kB / 303.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/0.159, allocations: 91.31 kB / 303.7 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1595, allocations: 156 kB / 303.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.1611, allocations: 2.881 MB / 306.8 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.1616, allocations: 41.14 kB / 306.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.1617, allocations: 32.59 kB / 306.8 MB, free: 18.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.162, allocations: 262.1 kB / 307.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1621, allocations: 114.8 kB / 307.2 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.163, allocations: 0.491 MB / 307.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.163, allocations: 5.891 kB / 307.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.163, allocations: 1.938 kB / 307.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.163, allocations: 3.75 kB / 307.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1646, allocations: 1.232 MB / 308.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1646, allocations: 4 kB / 308.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.1649, allocations: 71.73 kB / 309 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002108/0.1651, allocations: 77.89 kB / 309.1 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/0.1652, allocations: 8 kB / 309.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.1666, allocations: 2.873 MB / 312 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.1666, allocations: 0.625 kB / 312 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1677, allocations: 0.8084 MB / 312.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.1679, allocations: 123.4 kB / 312.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.168, allocations: 12 kB / 312.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.1684, allocations: 27.98 kB / 312.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.1685, allocations: 43.81 kB / 313 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1685, allocations: 19.98 kB / 313 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005017/0.169, allocations: 0.5147 MB / 313.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.169, allocations: 0 / 313.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000804/0.1698, allocations: 211.9 kB / 313.7 MB, free: 11.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * 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,5,100.0%), (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.0001896/0.17, allocations: 127.2 kB / 313.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009521/0.1709, allocations: 0.6853 MB / 314.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.171, allocations: 0 / 314.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.1715, allocations: 446.6 kB / 315 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.1724, allocations: 203.9 kB / 315.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1745, allocations: 1.689 MB / 316.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1749, allocations: 422.4 kB / 317.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.1752, allocations: 104.3 kB / 317.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1753, allocations: 56.48 kB / 317.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1753, allocations: 0 / 317.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of Templates: time 0.0165/0.1918, allocations: 10.29 MB / 327.7 MB, free: 14.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",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.840084225987084]