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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008135, allocations: 87.47 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.519e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07526, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.3641, allocations: 93.35 MB / 456.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3643, allocations: 81.2 kB / 456.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05953/0.4239, allocations: 23.62 MB / 480.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4239, allocations: 4 kB / 480.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.406e-05/0.424, allocations: 16 kB / 480.1 MB, free: 15.13 MB / 362.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.001463/0.4255, allocations: 1.011 MB / 481.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4255, allocations: 12.03 kB / 481.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.426, allocations: 146.6 kB / 481.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4271, allocations: 0.6814 MB / 482 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.4271, allocations: 24 kB / 482 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4272, allocations: 51.98 kB / 482.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007468/0.428, allocations: 450.7 kB / 482.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.429, allocations: 0.6545 MB / 483.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.4291, allocations: 15.47 kB / 483.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.4291, allocations: 3.984 kB / 483.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4291, allocations: 23.98 kB / 483.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.4329, allocations: 3.468 MB / 486.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.4333, allocations: 210.6 kB / 486.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4335, allocations: 87.23 kB / 487 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4335, allocations: 4 kB / 487 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.4336, allocations: 34.56 kB / 487 MB, free: 9.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.746e-06/0.4336, allocations: 0 / 487 MB, free: 9.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001297/0.4349, allocations: 0.7853 MB / 487.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4349, allocations: 81.11 kB / 487.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.4355, allocations: 0.5113 MB / 488.4 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.4356, allocations: 29.7 kB / 488.4 MB, free: 7.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.4359, allocations: 0.5132 MB / 488.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.436, allocations: 110.5 kB / 489 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.436, allocations: 0 / 489 MB, free: 7.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4361, allocations: 374.8 kB / 489.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.4363, allocations: 89.56 kB / 489.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.4366, allocations: 389.7 kB / 489.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.4369, allocations: 163.8 kB / 490 MB, free: 6.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4369, allocations: 7.938 kB / 490 MB, free: 6.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007438/0.4377, allocations: 0.4974 MB / 490.5 MB, free: 5.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4377, allocations: 15.94 kB / 490.5 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4377, allocations: 8.781 kB / 490.5 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.4379, allocations: 40.84 kB / 490.6 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.4384, allocations: 147.7 kB / 490.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009104/0.4393, allocations: 1.237 MB / 492 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.4397, allocations: 27.89 kB / 492 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.4398, allocations: 32 kB / 492 MB, free: 3.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.4399, allocations: 125.8 kB / 492.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.44, allocations: 71.19 kB / 492.2 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.4405, allocations: 269.8 kB / 492.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4405, allocations: 4 kB / 492.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4405, allocations: 0 / 492.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4405, allocations: 0 / 492.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.4417, allocations: 0.9499 MB / 493.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4417, allocations: 4 kB / 493.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.442, allocations: 68.12 kB / 493.5 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.208e-05/0.4421, allocations: 24.84 kB / 493.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.4422, allocations: 0 / 493.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007684/0.4429, allocations: 1.225 MB / 494.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.443, allocations: 3.953 kB / 494.8 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.4436, allocations: 0.5761 MB / 495.3 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.4438, allocations: 168.3 kB / 495.5 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.4438, allocations: 0 / 495.5 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.4442, allocations: 23.97 kB / 495.5 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.4442, allocations: 31.91 kB / 495.6 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4443, allocations: 8 kB / 495.6 MB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004654/0.4447, allocations: 391.2 kB / 495.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4447, allocations: 0 / 495.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007095/0.4455, allocations: 156 kB / 496.1 MB, free: 15.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005729/0.446, allocations: 290.5 kB / 496.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.4469, allocations: 389.7 kB / 496.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4469, allocations: 0 / 496.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.4472, allocations: 215.8 kB / 497 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.448, allocations: 168 kB / 497.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4498, allocations: 1.022 MB / 498.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.4503, allocations: 0.9678 MB / 499.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.4507, allocations: 85.44 kB / 499.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.4508, allocations: 51.42 kB / 499.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4508, allocations: 0 / 499.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of Templates: time 0.01471/0.4655, allocations: 7.333 MB / 0.4947 GB, free: 4.898 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches