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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 85.08 kB / 23 MB, free: 1.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 173.2 kB / 26.39 MB, free: 7.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9357/0.9357, allocations: 158.6 MB / 188.3 MB, free: 2.832 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 3.938 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.818e-05, allocations: 10.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007184/0.007212, allocations: 7.726 MB / 260 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.01157, allocations: 2.552 MB / 262.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009053/0.01248, allocations: 23.94 kB / 262.6 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.01369, allocations: 496.7 kB / 263.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008345/0.01453, allocations: 448.5 kB / 263.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.01492, allocations: 227.5 kB / 263.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.01608, allocations: 1.283 MB / 265 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.01656, allocations: 342.5 kB / 265.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.01737, allocations: 0.7405 MB / 266.1 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.0178, allocations: 406.8 kB / 266.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.01789, allocations: 112 kB / 266.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.01809, allocations: 151.9 kB / 266.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.01821, allocations: 247 kB / 267 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.01848, allocations: 395 kB / 267.4 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.01951, allocations: 0.7977 MB / 268.2 MB, free: 7.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01952, allocations: 4 kB / 268.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01952, allocations: 0 / 268.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.01953, allocations: 0 / 268.2 MB, free: 7.238 MB / 250.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.0013/0.02083, allocations: 1.36 MB / 269.5 MB, free: 5.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.02086, allocations: 15.98 kB / 269.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.0212, allocations: 228.1 kB / 269.8 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.02175, allocations: 0.5616 MB / 270.3 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.02179, allocations: 62.38 kB / 270.4 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.02186, allocations: 80.38 kB / 270.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.02247, allocations: 0.6526 MB / 271.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.02249, allocations: 3.953 kB / 271.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.02253, allocations: 40 kB / 271.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.02254, allocations: 23.94 kB / 271.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.02282, allocations: 241.7 kB / 271.4 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.02525, allocations: 3.295 MB / 274.7 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.02548, allocations: 139.2 kB / 274.8 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.02554, allocations: 59.59 kB / 274.9 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.02556, allocations: 7.938 kB / 274.9 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.02558, allocations: 41.83 kB / 275 MB, free: 112 kB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.02558, allocations: 0 / 275 MB, free: 112 kB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001164/0.02675, allocations: 0.5858 MB / 275.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.02678, allocations: 77.11 kB / 275.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.02726, allocations: 0.6824 MB / 276.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.02728, allocations: 33.7 kB / 276.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.02755, allocations: 0.5993 MB / 276.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.02761, allocations: 115 kB / 277 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.02771, allocations: 131.9 kB / 277.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.02788, allocations: 0.5624 MB / 277.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.02794, allocations: 53.25 kB / 277.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.02821, allocations: 0.5261 MB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.0286, allocations: 0.606 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.02861, allocations: 4 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004998/0.02911, allocations: 0.5049 MB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.02912, allocations: 12 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.02913, allocations: 11.98 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.02924, allocations: 31.69 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.02949, allocations: 147.7 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/0.03023, allocations: 1.729 MB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.03045, allocations: 39.78 kB / 281.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.03047, allocations: 31.98 kB / 281.4 MB, free: 8.984 MB / 266.7 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.000144/0.03062, allocations: 200.3 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.03069, allocations: 83.53 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.03119, allocations: 235.8 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.0312, allocations: 0 / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.0312, allocations: 4 kB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.0312, allocations: 3.984 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.03192, allocations: 0.7877 MB / 282.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.03193, allocations: 4 kB / 282.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.03207, allocations: 56.19 kB / 282.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.03212, allocations: 27.61 kB / 282.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.03213, allocations: 8 kB / 282.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00062/0.03275, allocations: 1.705 MB / 284.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.03276, allocations: 4 kB / 284.5 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.03311, allocations: 497.8 kB / 285 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.03323, allocations: 95.48 kB / 285.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.03327, allocations: 8 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.03342, allocations: 15.98 kB / 285.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.03346, allocations: 23.95 kB / 285.2 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.03348, allocations: 15.94 kB / 285.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002433/0.03372, allocations: 398.8 kB / 285.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03372, allocations: 4 kB / 285.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.03413, allocations: 175.9 kB / 285.7 MB, free: 4.406 MB / 266.7 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.0001503/0.03428, allocations: 111.2 kB / 285.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.03467, allocations: 428.3 kB / 286.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.03467, allocations: 0 / 286.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.03483, allocations: 254.2 kB / 286.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.03535, allocations: 186.7 kB / 286.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.03702, allocations: 1.385 MB / 288.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.03712, allocations: 149.7 kB / 288.2 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.03732, allocations: 81.56 kB / 288.3 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.0376, allocations: 242.1 kB / 288.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0376, allocations: 4 kB / 288.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of Templates: time 0.01243/0.05003, allocations: 9.135 MB / 297.7 MB, free: 8.367 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.221763296984136]