Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.00195/0.00195, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002206/0.002206, allocations: 163.3 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.315e-05, allocations: 6.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01096/0.011, allocations: 7.012 MB / 257.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.01653, allocations: 2.447 MB / 259.8 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.01775, allocations: 23.94 kB / 259.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.01961, allocations: 492.8 kB / 260.3 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.02108, allocations: 452.4 kB / 260.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.02178, allocations: 215.6 kB / 261 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.02389, allocations: 1.283 MB / 262.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.02467, allocations: 346.5 kB / 262.6 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.02609, allocations: 0.7327 MB / 263.3 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008105/0.0269, allocations: 374.8 kB / 263.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.02711, allocations: 112 kB / 263.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.02752, allocations: 160 kB / 264 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.02776, allocations: 243 kB / 264.2 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006841/0.02845, allocations: 391.1 kB / 264.6 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.03033, allocations: 1.46 MB / 266.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.03033, allocations: 0 / 266.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03033, allocations: 0 / 266.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.03035, allocations: 4 kB / 266.1 MB, free: 4.141 MB / 250.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.002465/0.03281, allocations: 1.248 MB / 267.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.03285, allocations: 11.98 kB / 267.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.03351, allocations: 220.2 kB / 267.5 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.03466, allocations: 0.603 MB / 268.1 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.03493, allocations: 62.38 kB / 268.2 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.03507, allocations: 88.36 kB / 268.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.03677, allocations: 0.8728 MB / 269.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.0368, allocations: 3.953 kB / 269.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.03689, allocations: 36 kB / 269.2 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.03691, allocations: 20 kB / 269.2 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.03816, allocations: 0.5387 MB / 269.8 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.04287, allocations: 3.002 MB / 272.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.04347, allocations: 222.7 kB / 273 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.04375, allocations: 116.8 kB / 273.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.04378, allocations: 7.938 kB / 273.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.04382, allocations: 35 kB / 273.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.04382, allocations: 0 / 273.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002331/0.04615, allocations: 0.9446 MB / 274.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.04622, allocations: 81.11 kB / 274.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.04725, allocations: 0.6915 MB / 274.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.04729, allocations: 33.64 kB / 274.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.04799, allocations: 0.5343 MB / 275.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.04811, allocations: 111.1 kB / 275.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.0483, allocations: 122.2 kB / 275.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.04855, allocations: 382.7 kB / 276 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.04888, allocations: 129.2 kB / 276.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.04955, allocations: 476.2 kB / 276.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.05059, allocations: 0.6141 MB / 277.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.0506, allocations: 4 kB / 277.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001377/0.05198, allocations: 0.6696 MB / 277.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.052, allocations: 8 kB / 277.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.05202, allocations: 12 kB / 277.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.05219, allocations: 36.84 kB / 277.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.05271, allocations: 148.3 kB / 278.1 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.05406, allocations: 1.268 MB / 279.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.05456, allocations: 43.94 kB / 279.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.05461, allocations: 32.16 kB / 279.4 MB, free: 5.953 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.0003843/0.055, allocations: 241.5 kB / 279.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.05514, allocations: 79.52 kB / 279.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.05594, allocations: 329 kB / 280.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.05595, allocations: 4 kB / 280.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.05595, allocations: 4 kB / 280.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.05596, allocations: 0 / 280.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.05776, allocations: 0.9259 MB / 281 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.05776, allocations: 4 kB / 281 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.05809, allocations: 59.95 kB / 281.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.0582, allocations: 33 kB / 281.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.05823, allocations: 8 kB / 281.1 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.05966, allocations: 1.248 MB / 282.4 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.05966, allocations: 4.031 kB / 282.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.06078, allocations: 0.5731 MB / 282.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.06101, allocations: 91.48 kB / 283 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.06109, allocations: 8 kB / 283 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.06145, allocations: 19.98 kB / 283 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.06153, allocations: 27.89 kB / 283.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.06155, allocations: 8 kB / 283.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000723/0.06228, allocations: 478.9 kB / 283.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06228, allocations: 0 / 283.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007387/0.06301, allocations: 164 kB / 283.7 MB, free: 1.445 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.000219/0.06323, allocations: 111.2 kB / 283.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.06428, allocations: 471.6 kB / 284.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.06429, allocations: 8.312 kB / 284.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.06475, allocations: 234.6 kB / 284.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.0657, allocations: 197.7 kB / 284.7 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.0684, allocations: 1.396 MB / 286.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.06887, allocations: 365 kB / 286.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.06919, allocations: 89.55 kB / 286.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.06932, allocations: 44.5 kB / 286.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.06932, allocations: 0 / 286.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.01821/0.08753, allocations: 8.257 MB / 294.9 MB, free: 6.223 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.937221467029303]