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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001467, allocations: 108.4 kB / 18.4 MB, free: 4.68 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.001721/0.001721, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07557/0.07684, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1588/0.2357, allocations: 7.912 MB / 383.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.2402, allocations: 2.62 MB / 386.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009984/0.2412, allocations: 20.44 kB / 386.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2428, allocations: 0.5043 MB / 386.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.244, allocations: 398 kB / 387.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2445, allocations: 221.6 kB / 387.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.2455, allocations: 1.227 MB / 388.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.2461, allocations: 0.5368 MB / 389.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.2466, allocations: 486.8 kB / 389.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.2472, allocations: 0.5186 MB / 390.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.2473, allocations: 114.8 kB / 390.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.2476, allocations: 150.7 kB / 390.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2478, allocations: 241.7 kB / 390.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.2482, allocations: 0.5558 MB / 391.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.2496, allocations: 1.461 MB / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2496, allocations: 1.906 kB / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2496, allocations: 0 / 392.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2496, allocations: 0 / 392.8 MB, free: 4.805 MB / 318.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.001926/0.2516, allocations: 1.315 MB / 394.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2516, allocations: 12.64 kB / 394.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.2521, allocations: 152.3 kB / 394.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.2531, allocations: 0.6457 MB / 394.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.2531, allocations: 58.91 kB / 394.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2532, allocations: 89.33 kB / 395 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.2545, allocations: 0.8178 MB / 395.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.2546, allocations: 2.484 kB / 395.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.2547, allocations: 36.84 kB / 395.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.2547, allocations: 20.25 kB / 395.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2557, allocations: 0.5409 MB / 396.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.2594, allocations: 3.557 MB / 400 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.2599, allocations: 242.8 kB / 400.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.2602, allocations: 114 kB / 400.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.2602, allocations: 3 kB / 400.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2603, allocations: 41.69 kB / 400.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.008e-05/0.2603, allocations: 0 / 400.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002013/0.2623, allocations: 1.075 MB / 401.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.2624, allocations: 80.05 kB / 401.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.2633, allocations: 0.7687 MB / 402.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2633, allocations: 32.92 kB / 402.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.2637, allocations: 0.5095 MB / 402.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.2637, allocations: 116.3 kB / 403 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.2639, allocations: 126.9 kB / 403.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2641, allocations: 381.6 kB / 403.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.2644, allocations: 132.3 kB / 403.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.2648, allocations: 440.3 kB / 404 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.2656, allocations: 0.6161 MB / 404.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.2657, allocations: 6.75 kB / 404.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001117/0.2668, allocations: 0.6482 MB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2668, allocations: 9.625 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2668, allocations: 16.44 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.267, allocations: 37.36 kB / 405.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.2674, allocations: 149.7 kB / 405.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.2685, allocations: 1.393 MB / 406.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.269, allocations: 41.36 kB / 406.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.269, allocations: 33 kB / 407 MB, free: 10.98 MB / 334.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.0002861/0.2693, allocations: 237.6 kB / 407.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2694, allocations: 75.59 kB / 407.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.2702, allocations: 337.5 kB / 407.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2702, allocations: 0 / 407.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2702, allocations: 3.984 kB / 407.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.2705, allocations: 176.7 kB / 407.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.2706, allocations: 6.531 kB / 407.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.2709, allocations: 21.92 kB / 407.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.271, allocations: 20.62 kB / 407.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007986/0.2718, allocations: 371.3 kB / 408.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008908/0.2727, allocations: 0.5897 MB / 408.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002181/0.2729, allocations: 106.2 kB / 408.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006716/0.2736, allocations: 0.5146 MB / 409.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of Backend: time 5.41e-07/0.2736, allocations: 4 kB / 409.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2747, allocations: 0.5038 MB / 409.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of SimCode: time 0.002719/0.2775, allocations: 1.997 MB / 411.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of Templates: time 0.01681/0.2943, allocations: 9.335 MB / 421.2 MB, free: 1.242 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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