Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002679/0.002679, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.433/2.433, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 37.06 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1419, allocations: 49.46 MB / 350.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01305/0.155, allocations: 7.926 MB / 358 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.1613, allocations: 2.598 MB / 360.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1632, allocations: 23.94 kB / 360.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.1663, allocations: 453.6 kB / 361.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.169, allocations: 341.5 kB / 361.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1702, allocations: 199.7 kB / 361.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.1732, allocations: 1.17 MB / 362.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1745, allocations: 471.8 kB / 363.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.1757, allocations: 438.1 kB / 363.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1768, allocations: 0.4938 MB / 364.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.177, allocations: 79.94 kB / 364.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.1775, allocations: 116 kB / 364.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1778, allocations: 191.2 kB / 364.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008146/0.1786, allocations: 0.5247 MB / 365 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.18, allocations: 1.157 MB / 366.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.18, allocations: 0 / 366.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.18, allocations: 0 / 366.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.18, allocations: 8 kB / 366.2 MB, free: 4.383 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.002685/0.1827, allocations: 1.317 MB / 367.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1828, allocations: 12.03 kB / 367.5 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.1833, allocations: 143.6 kB / 367.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1844, allocations: 0.6299 MB / 368.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.1845, allocations: 62.38 kB / 368.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1846, allocations: 95.84 kB / 368.5 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.1861, allocations: 0.8145 MB / 369.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.1861, allocations: 8 kB / 369.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.1862, allocations: 32 kB / 369.3 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.1862, allocations: 20 kB / 369.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1874, allocations: 0.5465 MB / 369.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3362/0.5236, allocations: 3.579 MB / 373.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.5248, allocations: 241.9 kB / 373.7 MB, free: 23.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.5253, allocations: 119.7 kB / 373.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.5254, allocations: 2.094 kB / 373.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5255, allocations: 33.23 kB / 373.8 MB, free: 23.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 4.268e-06/0.5255, allocations: 0 / 373.8 MB, free: 23.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.004033/0.5295, allocations: 1.067 MB / 374.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.5296, allocations: 83.89 kB / 375 MB, free: 22.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.5317, allocations: 0.7639 MB / 375.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.5318, allocations: 31.3 kB / 375.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/0.5325, allocations: 0.5113 MB / 376.3 MB, free: 21.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.5326, allocations: 111.6 kB / 376.4 MB, free: 21.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.5329, allocations: 121.7 kB / 376.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5331, allocations: 383.4 kB / 376.9 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.5337, allocations: 129.6 kB / 377 MB, free: 21.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.5346, allocations: 449.5 kB / 377.5 MB, free: 20.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.536, allocations: 0.617 MB / 378.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.536, allocations: 10.91 kB / 378.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002227/0.5383, allocations: 0.6409 MB / 378.7 MB, free: 19.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.5383, allocations: 9.75 kB / 378.7 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.5384, allocations: 11.02 kB / 378.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.5386, allocations: 33.92 kB / 378.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.5395, allocations: 153.9 kB / 378.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.5408, allocations: 1.296 MB / 380.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.542, allocations: 46.7 kB / 380.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.5421, allocations: 31.75 kB / 380.3 MB, free: 18.63 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.0006453/0.5428, allocations: 238.4 kB / 380.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.543, allocations: 80.23 kB / 380.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.5443, allocations: 339.5 kB / 381 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5443, allocations: 3.719 kB / 381 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5443, allocations: 0 / 381 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5443, allocations: 3.109 kB / 381 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.5475, allocations: 1.119 MB / 382.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.5475, allocations: 1.312 kB / 382.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.5481, allocations: 60.72 kB / 382.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.5483, allocations: 27.31 kB / 382.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.5484, allocations: 8.328 kB / 382.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.5494, allocations: 1.278 MB / 383.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5495, allocations: 3.656 kB / 383.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5512, allocations: 0.5726 MB / 384 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.5517, allocations: 175.8 kB / 384.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5519, allocations: 9.719 kB / 384.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.5525, allocations: 28.94 kB / 384.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5527, allocations: 30.27 kB / 384.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.5527, allocations: 12.81 kB / 384.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.5541, allocations: 0.5162 MB / 384.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5541, allocations: 0 / 384.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001498/0.5556, allocations: 172 kB / 385 MB, free: 15.44 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.0003031/0.5559, allocations: 122.7 kB / 385.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.5576, allocations: 482.8 kB / 385.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5577, allocations: 0 / 385.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.5583, allocations: 246 kB / 385.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5602, allocations: 174.6 kB / 386 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.5652, allocations: 1.841 MB / 387.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/0.5661, allocations: 0.9625 MB / 388.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.5665, allocations: 57.56 kB / 388.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 1.774e-06/0.5665, allocations: 0 / 388.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Templates: time 0.03684/0.6034, allocations: 13.8 MB / 402.6 MB, free: 4.805 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches