Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001416/0.001416, allocations: 84.34 kB / 20.96 MB, free: 3.453 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.001511/0.001511, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.548e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.0105/0.01054, allocations: 7.279 MB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.01657, allocations: 2.575 MB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.01744, allocations: 27.88 kB / 282.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.01902, allocations: 0.5362 MB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.02034, allocations: 0.5156 MB / 283.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.02113, allocations: 275.5 kB / 283.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.02318, allocations: 1.575 MB / 285.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.02394, allocations: 367.3 kB / 285.5 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.02525, allocations: 0.8768 MB / 286.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007083/0.02596, allocations: 458.5 kB / 286.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.02615, allocations: 144 kB / 286.9 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.02651, allocations: 180 kB / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.02677, allocations: 294.8 kB / 287.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.02736, allocations: 462.9 kB / 287.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.02975, allocations: 1.768 MB / 289.6 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.02975, allocations: 0 / 289.6 MB, free: 428 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02975, allocations: 0 / 289.6 MB, free: 428 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.02977, allocations: 0 / 289.6 MB, free: 428 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.1147/0.1445, allocations: 1.424 MB / 291 MB, free: 19.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1445, allocations: 10.47 kB / 291.1 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.1454, allocations: 282.1 kB / 291.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1465, allocations: 0.7171 MB / 292 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.1465, allocations: 77.3 kB / 292.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1467, allocations: 109.4 kB / 292.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.1482, allocations: 1.045 MB / 293.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.1482, allocations: 2.953 kB / 293.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/0.1483, allocations: 38.69 kB / 293.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.1483, allocations: 26.27 kB / 293.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.1495, allocations: 0.6476 MB / 294 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.1536, allocations: 3.441 MB / 297.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.1542, allocations: 353.5 kB / 297.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.1548, allocations: 263.1 kB / 298 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1549, allocations: 7.875 kB / 298 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1549, allocations: 38.22 kB / 298.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.1549, allocations: 0 / 298.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.002707/0.1576, allocations: 1.344 MB / 299.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1576, allocations: 82.14 kB / 299.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.1586, allocations: 0.78 MB / 300.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1586, allocations: 35.92 kB / 300.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.1589, allocations: 0.5945 MB / 300.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.159, allocations: 166.8 kB / 301.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1591, allocations: 133 kB / 301.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1592, allocations: 390.1 kB / 301.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.1596, allocations: 174.3 kB / 301.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.16, allocations: 490.8 kB / 302.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.1608, allocations: 0.6828 MB / 302.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1608, allocations: 2.75 kB / 302.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001315/0.1621, allocations: 0.8131 MB / 303.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1621, allocations: 8.312 kB / 303.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.1621, allocations: 10.31 kB / 303.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.1624, allocations: 86.89 kB / 303.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.1629, allocations: 157.6 kB / 304 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.1646, allocations: 2.894 MB / 306.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.1651, allocations: 35.86 kB / 306.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.1652, allocations: 43.34 kB / 307 MB, free: 10.54 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.0003157/0.1655, allocations: 260.4 kB / 307.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.1656, allocations: 99.38 kB / 307.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008632/0.1665, allocations: 0.5009 MB / 307.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1665, allocations: 5.938 kB / 307.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1665, allocations: 2.906 kB / 307.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1665, allocations: 3.531 kB / 307.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.1683, allocations: 1.228 MB / 309 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1683, allocations: 0 / 309 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.1687, allocations: 75.67 kB / 309.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.1689, allocations: 75.56 kB / 309.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.1689, allocations: 13.38 kB / 309.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1707, allocations: 2.876 MB / 312.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1707, allocations: 3.469 kB / 312.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.1723, allocations: 0.802 MB / 312.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.1726, allocations: 118.7 kB / 313 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.1728, allocations: 13.94 kB / 313 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.1734, allocations: 29.84 kB / 313.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.1735, allocations: 36.27 kB / 313.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.1736, allocations: 16.75 kB / 313.1 MB, free: 6.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.1746, allocations: 0.5192 MB / 313.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1746, allocations: 1.969 kB / 313.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001463/0.176, allocations: 208.2 kB / 313.8 MB, free: 5.789 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.0002882/0.1763, allocations: 127.8 kB / 314 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.1777, allocations: 0.688 MB / 314.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1777, allocations: 4 kB / 314.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.1784, allocations: 445.2 kB / 315.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.1797, allocations: 212.5 kB / 315.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.1828, allocations: 1.687 MB / 317 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1832, allocations: 425.2 kB / 317.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004897/0.1837, allocations: 106.3 kB / 317.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1838, allocations: 60.5 kB / 317.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1838, allocations: 0 / 317.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of Templates: time 0.02397/0.2078, allocations: 10.3 MB / 327.8 MB, free: 8.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.778583349077962]