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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=60000,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=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.53 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09629, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009688/0.106, allocations: 7.986 MB / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.1113, allocations: 2.641 MB / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1128, allocations: 27.94 kB / 368.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1147, allocations: 0.4969 MB / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.1164, allocations: 400.8 kB / 369 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.1172, allocations: 219.6 kB / 369.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.1193, allocations: 1.226 MB / 370.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.1203, allocations: 0.5408 MB / 371 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.1213, allocations: 486.1 kB / 371.5 MB, free: 40 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1995/0.3208, allocations: 0.5137 MB / 372 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.3213, allocations: 114.7 kB / 372.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.3218, allocations: 156.1 kB / 372.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.322, allocations: 236.8 kB / 372.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007074/0.3227, allocations: 0.5662 MB / 373 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.3247, allocations: 1.442 MB / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3248, allocations: 0.5625 kB / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3248, allocations: 0 / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.3248, allocations: 0 / 374.5 MB, free: 10.97 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.002502/0.3273, allocations: 1.309 MB / 375.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3274, allocations: 10.78 kB / 375.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.3281, allocations: 176.9 kB / 376 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3292, allocations: 0.6256 MB / 376.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.3293, allocations: 65.06 kB / 376.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3294, allocations: 90.27 kB / 376.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.3309, allocations: 0.8293 MB / 377.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.331, allocations: 2.125 kB / 377.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.3311, allocations: 36.06 kB / 377.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.3311, allocations: 20.62 kB / 377.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3322, allocations: 0.5401 MB / 378.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.3366, allocations: 3.577 MB / 381.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.3372, allocations: 244.1 kB / 382 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.3374, allocations: 124.3 kB / 382.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3375, allocations: 2.312 kB / 382.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3375, allocations: 32.94 kB / 382.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.3375, allocations: 0 / 382.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002197/0.3397, allocations: 1.077 MB / 383.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3398, allocations: 84.7 kB / 383.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3408, allocations: 0.7627 MB / 384.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3408, allocations: 32.11 kB / 384.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.3411, allocations: 0.5138 MB / 384.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.3412, allocations: 111.2 kB / 384.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.3413, allocations: 123 kB / 384.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3415, allocations: 386.1 kB / 385.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.3418, allocations: 125.7 kB / 385.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3421, allocations: 451.7 kB / 385.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.3428, allocations: 0.6091 MB / 386.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3428, allocations: 3.531 kB / 386.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001045/0.3439, allocations: 0.6437 MB / 387 MB, free: 3.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3439, allocations: 13.69 kB / 387.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.3439, allocations: 12.17 kB / 387.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.3441, allocations: 41.25 kB / 387.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.3446, allocations: 153.2 kB / 387.3 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007439/0.3454, allocations: 1.394 MB / 388.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.3459, allocations: 36.88 kB / 388.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.346, allocations: 37.23 kB / 388.7 MB, free: 2.539 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.0002636/0.3463, allocations: 252.6 kB / 389 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.3464, allocations: 75.11 kB / 389.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/0.347, allocations: 328.6 kB / 389.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.347, allocations: 3.094 kB / 389.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.347, allocations: 4.938 kB / 389.4 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.347, allocations: 5.125 kB / 389.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3485, allocations: 1.122 MB / 390.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3485, allocations: 1.469 kB / 390.5 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.3488, allocations: 67.06 kB / 390.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.3489, allocations: 20.3 kB / 390.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3489, allocations: 10.11 kB / 390.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005775/0.3495, allocations: 1.375 MB / 392 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3495, allocations: 2.375 kB / 392 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.3505, allocations: 0.5675 MB / 392.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3507, allocations: 179.9 kB / 392.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.3508, allocations: 10.89 kB / 392.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.3512, allocations: 24 kB / 392.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.3513, allocations: 25.91 kB / 392.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3513, allocations: 11.78 kB / 392.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.3519, allocations: 0.5178 MB / 393.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.352, allocations: 3.938 kB / 393.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007695/0.3527, allocations: 174.7 kB / 393.5 MB, free: 15.29 MB / 318.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.000203/0.3529, allocations: 119.1 kB / 393.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.3539, allocations: 488.6 kB / 394.1 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3539, allocations: 1.031 kB / 394.1 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3543, allocations: 247.8 kB / 394.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3554, allocations: 193.8 kB / 394.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.358, allocations: 1.476 MB / 396 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.3586, allocations: 0.9531 MB / 396.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3591, allocations: 95.97 kB / 397 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3592, allocations: 52.28 kB / 397.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3592, allocations: 0 / 397.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of Templates: time 0.01831/0.3775, allocations: 8.45 MB / 405.5 MB, free: 8.559 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) 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.0.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) Reference file matches