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.001519/0.001519, allocations: 106.2 kB / 17.74 MB, free: 5.336 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.0017/0.0017, allocations: 196.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009353/0.0009353, allocations: 51.86 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2138, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00829/0.2221, allocations: 7.971 MB / 409.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.2257, allocations: 2.613 MB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.2261, allocations: 23.94 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.2273, allocations: 0.5204 MB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.228, allocations: 440.7 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.2284, allocations: 207.7 kB / 413.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.2294, allocations: 1.233 MB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.2301, allocations: 0.5292 MB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.2305, allocations: 494 kB / 415.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.2311, allocations: 0.5172 MB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.2312, allocations: 112 kB / 416.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.2315, allocations: 164 kB / 416.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2317, allocations: 235.1 kB / 416.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.2321, allocations: 0.5599 MB / 417 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2334, allocations: 1.464 MB / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2334, allocations: 0 / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2334, allocations: 0 / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2334, allocations: 7.875 kB / 418.5 MB, free: 7.703 MB / 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.002006/0.2354, allocations: 1.297 MB / 419.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2355, allocations: 15.89 kB / 419.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.2359, allocations: 151.6 kB / 419.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.2369, allocations: 0.6376 MB / 420.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.2369, allocations: 62.38 kB / 420.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.237, allocations: 99.92 kB / 420.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.2384, allocations: 0.8184 MB / 421.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.2384, allocations: 3.906 kB / 421.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.2385, allocations: 43.98 kB / 421.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2385, allocations: 24 kB / 421.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2396, allocations: 0.5387 MB / 422.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.2434, allocations: 3.543 MB / 425.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.244, allocations: 250.6 kB / 426 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2442, allocations: 116.8 kB / 426.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2443, allocations: 3.938 kB / 426.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2443, allocations: 38.55 kB / 426.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.2443, allocations: 0 / 426.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001943/0.2463, allocations: 1.067 MB / 427.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2463, allocations: 85.11 kB / 427.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.2472, allocations: 0.7663 MB / 428 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2473, allocations: 33.7 kB / 428.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.2476, allocations: 0.5135 MB / 428.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.2477, allocations: 110.5 kB / 428.7 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.2478, allocations: 122.2 kB / 428.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.248, allocations: 382.8 kB / 429.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.2483, allocations: 133.2 kB / 429.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.2488, allocations: 446.2 kB / 429.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.2495, allocations: 0.6102 MB / 430.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2496, allocations: 0 / 430.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001068/0.2506, allocations: 0.6502 MB / 431 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2507, allocations: 15.94 kB / 431 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2507, allocations: 12 kB / 431 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.2508, allocations: 40.78 kB / 431.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.2513, allocations: 151.7 kB / 431.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009988/0.2523, allocations: 1.382 MB / 432.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2528, allocations: 40.02 kB / 432.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.2528, allocations: 36 kB / 432.7 MB, free: 8.543 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.0002817/0.2531, allocations: 241.5 kB / 432.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2532, allocations: 79.05 kB / 433 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.2539, allocations: 330 kB / 433.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2539, allocations: 7.922 kB / 433.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2539, allocations: 0 / 433.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.2541, allocations: 180.1 kB / 433.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.2542, allocations: 8 kB / 433.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.2546, allocations: 19.97 kB / 433.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.2546, allocations: 23.91 kB / 433.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007783/0.2554, allocations: 370.1 kB / 433.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000843/0.2563, allocations: 0.5922 MB / 434.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002233/0.2565, allocations: 108 kB / 434.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.2571, allocations: 0.5147 MB / 435.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2571, allocations: 0 / 435.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2583, allocations: 0.4952 MB / 435.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of SimCode: time 0.002545/0.2608, allocations: 2.004 MB / 437.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of Templates: time 0.01573/0.2766, allocations: 9.124 MB / 446.7 MB, free: 10.44 MB / 366.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