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.00113/0.00113, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2239, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008824/0.2327, allocations: 7.984 MB / 417.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.2369, allocations: 2.645 MB / 420.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.2377, allocations: 23.94 kB / 420.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.2391, allocations: 0.5204 MB / 421.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.2402, allocations: 436.8 kB / 421.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2408, allocations: 215.6 kB / 421.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.2422, allocations: 1.237 MB / 423 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007249/0.2429, allocations: 0.5331 MB / 423.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006883/0.2436, allocations: 494 kB / 424 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.2444, allocations: 0.5173 MB / 424.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.2446, allocations: 112 kB / 424.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.2449, allocations: 164 kB / 424.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.2451, allocations: 239.1 kB / 425 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.2457, allocations: 0.5676 MB / 425.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.2472, allocations: 1.475 MB / 427.1 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2473, allocations: 0 / 427.1 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2473, allocations: 0 / 427.1 MB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.2473, allocations: 4 kB / 427.1 MB, free: 324 kB / 334.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.002056/0.2494, allocations: 1.324 MB / 428.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2494, allocations: 12.03 kB / 428.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.2501, allocations: 176.2 kB / 428.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009351/0.251, allocations: 0.646 MB / 429.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.2511, allocations: 66.38 kB / 429.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2512, allocations: 91.88 kB / 429.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2525, allocations: 0.8184 MB / 430.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.2525, allocations: 7.891 kB / 430.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.2526, allocations: 40 kB / 430.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2526, allocations: 20 kB / 430.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2537, allocations: 0.5387 MB / 430.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.2578, allocations: 3.556 MB / 434.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2583, allocations: 241.4 kB / 434.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2585, allocations: 116.8 kB / 434.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.2586, allocations: 4 kB / 434.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2586, allocations: 34.56 kB / 434.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.964e-06/0.2586, allocations: 0 / 434.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001972/0.2606, allocations: 1.106 MB / 435.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2606, allocations: 85.11 kB / 435.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.2616, allocations: 0.7624 MB / 436.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.2616, allocations: 33.69 kB / 436.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.2619, allocations: 0.5228 MB / 437.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.262, allocations: 115 kB / 437.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2622, allocations: 118.2 kB / 437.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2623, allocations: 382.8 kB / 437.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2627, allocations: 133.2 kB / 438 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.2632, allocations: 442.2 kB / 438.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.264, allocations: 0.6216 MB / 439 MB, free: 3.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2641, allocations: 4 kB / 439.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001064/0.2651, allocations: 0.6586 MB / 439.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2652, allocations: 8 kB / 439.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.2652, allocations: 12 kB / 439.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.2653, allocations: 36.78 kB / 439.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.2658, allocations: 151.7 kB / 439.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.2668, allocations: 1.398 MB / 441.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.2673, allocations: 40.09 kB / 441.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.2673, allocations: 36 kB / 441.4 MB, free: 1.051 MB / 350.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.0003005/0.2676, allocations: 245.4 kB / 441.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.2677, allocations: 79.48 kB / 441.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.2684, allocations: 337.9 kB / 442 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2684, allocations: 3.984 kB / 442 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2684, allocations: 0 / 442 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2686, allocations: 176.5 kB / 442.2 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.2687, allocations: 4 kB / 442.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.2691, allocations: 23.97 kB / 442.2 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.2691, allocations: 11.98 kB / 442.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007854/0.2699, allocations: 377.6 kB / 442.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008191/0.2707, allocations: 0.597 MB / 443.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002273/0.271, allocations: 104 kB / 443.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006535/0.2716, allocations: 0.5147 MB / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Backend: time 6.52e-07/0.2716, allocations: 0 / 443.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2729, allocations: 0.5017 MB / 444.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of SimCode: time 0.002551/0.2754, allocations: 2.033 MB / 446.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.01752/0.293, allocations: 9.187 MB / 455.6 MB, free: 2.836 MB / 366.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/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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches