Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001879/0.001879, allocations: 95.59 kB / 20.97 MB, free: 3.441 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.002078/0.002078, allocations: 156.9 kB / 24.27 MB, free: 148 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.562/1.562, allocations: 177 MB / 204.4 MB, free: 5.621 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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.655e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01113/0.01115, allocations: 7.91 MB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.01609, allocations: 2.594 MB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.01661, allocations: 27.88 kB / 282.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.01797, allocations: 492.8 kB / 283.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.01903, allocations: 452.5 kB / 283.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.01955, allocations: 219.6 kB / 283.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.02116, allocations: 1.287 MB / 285.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.0218, allocations: 346.5 kB / 285.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.02294, allocations: 0.7443 MB / 286.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.02358, allocations: 406.8 kB / 286.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.02376, allocations: 116 kB / 286.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.02409, allocations: 155.9 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.02432, allocations: 243.1 kB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.02483, allocations: 399 kB / 287.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.02678, allocations: 1.476 MB / 289 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02678, allocations: 4 kB / 289 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02679, allocations: 4 kB / 289 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.0268, allocations: 0 / 289 MB, free: 0.8906 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.1195/0.1463, allocations: 1.424 MB / 290.4 MB, free: 29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1463, allocations: 12.8 kB / 290.5 MB, free: 29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.1471, allocations: 238.1 kB / 290.7 MB, free: 28.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1482, allocations: 0.6044 MB / 291.3 MB, free: 28.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.1482, allocations: 65.88 kB / 291.4 MB, free: 28.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.1483, allocations: 84.91 kB / 291.4 MB, free: 28.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.1498, allocations: 0.9261 MB / 292.4 MB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.1498, allocations: 5.016 kB / 292.4 MB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.1499, allocations: 39.09 kB / 292.4 MB, free: 28.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.1499, allocations: 21.41 kB / 292.4 MB, free: 28.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1509, allocations: 0.5157 MB / 292.9 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.1554, allocations: 3.915 MB / 296.9 MB, free: 25.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.1561, allocations: 237.6 kB / 297.1 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.1564, allocations: 109.3 kB / 297.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.1565, allocations: 5.969 kB / 297.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1565, allocations: 35.94 kB / 297.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 3.256e-06/0.1565, allocations: 3.828 kB / 297.2 MB, free: 24.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002042/0.1586, allocations: 0.9166 MB / 298.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1586, allocations: 83.48 kB / 298.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1596, allocations: 0.8879 MB / 299.1 MB, free: 23.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1596, allocations: 31.47 kB / 299.2 MB, free: 23.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.16, allocations: 0.6317 MB / 299.8 MB, free: 23.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.16, allocations: 122.9 kB / 299.9 MB, free: 23.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.1602, allocations: 150.1 kB / 300.1 MB, free: 23.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1604, allocations: 0.5994 MB / 300.7 MB, free: 22.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1607, allocations: 120 kB / 300.8 MB, free: 22.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.1612, allocations: 0.6147 MB / 301.4 MB, free: 21.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.1619, allocations: 0.755 MB / 302.1 MB, free: 21.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1619, allocations: 3.594 kB / 302.1 MB, free: 21.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001221/0.1632, allocations: 0.6568 MB / 302.8 MB, free: 20.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.1632, allocations: 10.91 kB / 302.8 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.1632, allocations: 13.56 kB / 302.8 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1634, allocations: 42.72 kB / 302.9 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.1639, allocations: 145.4 kB / 303 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008592/0.1647, allocations: 1.788 MB / 304.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.1652, allocations: 35.02 kB / 304.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.1653, allocations: 32.89 kB / 304.9 MB, free: 19.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003958/0.1657, allocations: 290.6 kB / 305.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.1658, allocations: 79.62 kB / 305.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.1665, allocations: 321.9 kB / 305.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1665, allocations: 3.266 kB / 305.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1665, allocations: 5.438 kB / 305.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1665, allocations: 3.094 kB / 305.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1684, allocations: 1.179 MB / 306.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1684, allocations: 2.562 kB / 306.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.1687, allocations: 60.12 kB / 306.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.1688, allocations: 29.69 kB / 306.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.1688, allocations: 8.859 kB / 306.8 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000707/0.1695, allocations: 1.766 MB / 308.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1695, allocations: 6.5 kB / 308.6 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.1703, allocations: 0.627 MB / 309.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.1705, allocations: 98.45 kB / 309.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.1706, allocations: 9.156 kB / 309.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.1709, allocations: 19.69 kB / 309.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.171, allocations: 28.61 kB / 309.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.171, allocations: 13.41 kB / 309.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006121/0.1716, allocations: 0.5439 MB / 309.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 309.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007703/0.1724, allocations: 167 kB / 310.1 MB, free: 15.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.0002024/0.1726, allocations: 122 kB / 310.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008413/0.1735, allocations: 0.5472 MB / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1735, allocations: 3.938 kB / 310.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.1737, allocations: 305.4 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.1746, allocations: 176.8 kB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1765, allocations: 1.437 MB / 312.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1768, allocations: 364.6 kB / 313 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.177, allocations: 80.53 kB / 313.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.1771, allocations: 48.48 kB / 313.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1771, allocations: 0 / 313.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Templates: time 0.01331/0.1904, allocations: 8.292 MB / 321.5 MB, free: 4.215 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.018480005906895]