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.002531/0.002531, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002961/0.002961, allocations: 164.8 kB / 24.27 MB, free: 156 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.619/1.619, allocations: 177 MB / 204.5 MB, free: 5.602 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.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.545e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01147/0.01149, allocations: 8.133 MB / 280.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.0169, allocations: 2.684 MB / 283 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.01762, allocations: 27.88 kB / 283.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.0191, allocations: 0.544 MB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.02031, allocations: 0.5194 MB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.02087, allocations: 271.5 kB / 284.4 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.02266, allocations: 1.575 MB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.02331, allocations: 371.3 kB / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.02453, allocations: 0.8807 MB / 287.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.02529, allocations: 494.5 kB / 287.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.0255, allocations: 140 kB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.02587, allocations: 180 kB / 288 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.02616, allocations: 298.8 kB / 288.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.02673, allocations: 466.9 kB / 288.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1135/0.1402, allocations: 1.772 MB / 290.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1402, allocations: 0.9688 kB / 290.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1402, allocations: 0 / 290.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.1403, allocations: 0 / 290.5 MB, free: 18.68 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00288/0.1432, allocations: 1.64 MB / 292.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1432, allocations: 14.89 kB / 292.2 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.1441, allocations: 281.4 kB / 292.4 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1452, allocations: 0.7241 MB / 293.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.1453, allocations: 73.64 kB / 293.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1454, allocations: 108.8 kB / 293.4 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.1472, allocations: 1.112 MB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.1472, allocations: 3 kB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.1473, allocations: 40.88 kB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1473, allocations: 25.41 kB / 294.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.1485, allocations: 0.6155 MB / 295.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005506/0.154, allocations: 4.744 MB / 299.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.1547, allocations: 360.3 kB / 300.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.1552, allocations: 268.2 kB / 300.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.1553, allocations: 7.75 kB / 300.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1553, allocations: 41.09 kB / 300.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.1553, allocations: 0.5625 kB / 300.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002797/0.1581, allocations: 1.318 MB / 301.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1581, allocations: 83.27 kB / 302 MB, free: 13.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1593, allocations: 1.017 MB / 303 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1594, allocations: 32.58 kB / 303 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.1597, allocations: 0.683 MB / 303.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.1598, allocations: 185.4 kB / 303.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.16, allocations: 160.1 kB / 304 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1601, allocations: 0.621 MB / 304.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.1604, allocations: 164 kB / 304.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.1609, allocations: 0.6212 MB / 305.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.1617, allocations: 0.8075 MB / 306.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1617, allocations: 4.578 kB / 306.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001269/0.163, allocations: 0.8052 MB / 307 MB, free: 10.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.163, allocations: 11.53 kB / 307.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.163, allocations: 7.625 kB / 307.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.1633, allocations: 96.19 kB / 307.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.1638, allocations: 153.6 kB / 307.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1656, allocations: 4.024 MB / 311.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.1663, allocations: 36.38 kB / 311.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.1664, allocations: 42.28 kB / 311.4 MB, free: 6.211 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.0004081/0.1668, allocations: 302.9 kB / 311.7 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1669, allocations: 99.02 kB / 311.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.1677, allocations: 496.7 kB / 312.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1677, allocations: 5.031 kB / 312.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1677, allocations: 3.219 kB / 312.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1677, allocations: 7.031 kB / 312.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.1699, allocations: 1.549 MB / 313.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1699, allocations: 0 / 313.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.1702, allocations: 72.44 kB / 313.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.1705, allocations: 79.08 kB / 314 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1705, allocations: 17.55 kB / 314 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.1721, allocations: 4.004 MB / 318 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1722, allocations: 4.125 kB / 318 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.1733, allocations: 0.8583 MB / 318.9 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.1735, allocations: 129.2 kB / 319 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1736, allocations: 9.109 kB / 319 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.1741, allocations: 32.66 kB / 319 MB, free: 0 / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.1743, allocations: 48.45 kB / 319.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.1743, allocations: 12 kB / 319.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.1755, allocations: 0.6177 MB / 319.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1755, allocations: 0 / 319.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009598/0.1765, allocations: 207.9 kB / 319.9 MB, free: 15.21 MB / 282.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.0002351/0.1767, allocations: 125.3 kB / 320 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.1782, allocations: 0.8394 MB / 320.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1782, allocations: 0 / 320.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008254/0.179, allocations: 0.5649 MB / 321.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1801, allocations: 203.2 kB / 321.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.1833, allocations: 1.726 MB / 323.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.1838, allocations: 430.4 kB / 323.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.1841, allocations: 94.77 kB / 323.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1843, allocations: 56.5 kB / 323.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1843, allocations: 0 / 323.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of Templates: time 0.02219/0.2065, allocations: 10.33 MB / 334.3 MB, free: 1.121 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] 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: 5.1144013840239495]