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.002027/0.002027, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.002426/0.002426, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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.31/1.31, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.015e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009737/0.009767, allocations: 6.997 MB / 306 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.01494, allocations: 2.439 MB / 308.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.01639, allocations: 27.94 kB / 308.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.01829, allocations: 492.8 kB / 308.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.02017, allocations: 452.4 kB / 309.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.02089, allocations: 223.5 kB / 309.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.02281, allocations: 1.28 MB / 310.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.02354, allocations: 346.5 kB / 311.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.02486, allocations: 0.7326 MB / 311.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.02565, allocations: 382.8 kB / 312.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.02587, allocations: 116 kB / 312.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.02628, allocations: 155.9 kB / 312.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.02653, allocations: 243 kB / 312.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.02717, allocations: 395.1 kB / 313.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.02918, allocations: 1.456 MB / 314.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.02919, allocations: 4 kB / 314.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02919, allocations: 0 / 314.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.888e-05/0.02926, allocations: 0 / 314.6 MB, free: 8.93 MB / 302.1 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.003519/0.03278, allocations: 1.252 MB / 315.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.03283, allocations: 15.98 kB / 315.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.03346, allocations: 156.1 kB / 316.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.0348, allocations: 0.5719 MB / 316.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.03489, allocations: 66.36 kB / 316.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.03504, allocations: 88.33 kB / 316.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.03676, allocations: 0.8728 MB / 317.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.03679, allocations: 0 / 317.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.03687, allocations: 36 kB / 317.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.03689, allocations: 24 kB / 317.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.03816, allocations: 0.5426 MB / 318.3 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.04292, allocations: 2.936 MB / 321.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.04352, allocations: 222.7 kB / 321.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.0438, allocations: 113.2 kB / 321.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.04383, allocations: 11.88 kB / 321.5 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.04388, allocations: 46.48 kB / 321.6 MB, free: 1.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.897e-06/0.04388, allocations: 3.984 kB / 321.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002465/0.04635, allocations: 0.9113 MB / 322.5 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.04643, allocations: 89.11 kB / 322.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1565/0.2029, allocations: 0.6853 MB / 323.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.203, allocations: 31.8 kB / 323.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.2035, allocations: 0.5406 MB / 323.8 MB, free: 34.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2036, allocations: 109.6 kB / 324 MB, free: 34.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.2038, allocations: 121.9 kB / 324.1 MB, free: 34.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2039, allocations: 375.9 kB / 324.4 MB, free: 33.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.2043, allocations: 131 kB / 324.6 MB, free: 33.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.2047, allocations: 473.3 kB / 325 MB, free: 33.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/0.2054, allocations: 0.6131 MB / 325.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.2054, allocations: 6.281 kB / 325.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001193/0.2066, allocations: 0.6418 MB / 326.3 MB, free: 32.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2067, allocations: 9.938 kB / 326.3 MB, free: 32.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.2067, allocations: 13.91 kB / 326.3 MB, free: 32.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.2069, allocations: 34.88 kB / 326.3 MB, free: 32.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.2073, allocations: 150.9 kB / 326.5 MB, free: 32.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.2081, allocations: 1.262 MB / 327.8 MB, free: 31.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.2087, allocations: 37.3 kB / 327.8 MB, free: 31.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2087, allocations: 37.45 kB / 327.8 MB, free: 31.26 MB / 302.1 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.0003415/0.2091, allocations: 246.6 kB / 328.1 MB, free: 31.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2092, allocations: 71.66 kB / 328.1 MB, free: 31.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.2098, allocations: 327.8 kB / 328.5 MB, free: 30.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2099, allocations: 2.906 kB / 328.5 MB, free: 30.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2099, allocations: 1.375 kB / 328.5 MB, free: 30.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2099, allocations: 5.906 kB / 328.5 MB, free: 30.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2113, allocations: 0.921 MB / 329.4 MB, free: 30.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2113, allocations: 6.25 kB / 329.4 MB, free: 30.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2116, allocations: 62.11 kB / 329.5 MB, free: 30.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.2116, allocations: 23.73 kB / 329.5 MB, free: 30.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2117, allocations: 11.97 kB / 329.5 MB, free: 30.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005911/0.2122, allocations: 1.24 MB / 330.7 MB, free: 29.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2122, allocations: 5.344 kB / 330.7 MB, free: 29.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.2131, allocations: 0.5606 MB / 331.3 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2133, allocations: 91.34 kB / 331.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.2134, allocations: 13.73 kB / 331.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.2137, allocations: 22.69 kB / 331.4 MB, free: 28.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.2138, allocations: 23.19 kB / 331.4 MB, free: 28.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2138, allocations: 12.58 kB / 331.5 MB, free: 28.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.2144, allocations: 464.9 kB / 331.9 MB, free: 28.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2144, allocations: 5.375 kB / 331.9 MB, free: 28.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.2151, allocations: 171.6 kB / 332.1 MB, free: 28.4 MB / 302.1 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.0001884/0.2153, allocations: 115.3 kB / 332.2 MB, free: 28.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.2162, allocations: 479.3 kB / 332.7 MB, free: 28.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2162, allocations: 5.688 kB / 332.7 MB, free: 28.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.2165, allocations: 232.9 kB / 332.9 MB, free: 27.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009338/0.2174, allocations: 182.7 kB / 333.1 MB, free: 27.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.2196, allocations: 1.373 MB / 334.4 MB, free: 27.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.22, allocations: 364.5 kB / 334.8 MB, free: 26.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.2203, allocations: 82.48 kB / 334.9 MB, free: 26.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2204, allocations: 47.14 kB / 334.9 MB, free: 26.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2204, allocations: 3.938 kB / 334.9 MB, free: 26.9 MB / 302.1 MB Notification: Performance of Templates: time 0.01569/0.2361, allocations: 8.219 MB / 343.2 MB, free: 23.93 MB / 302.1 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.709937252104282]