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.001514/0.001514, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001612/0.001612, allocations: 167.2 kB / 25.75 MB, free: 8.949 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.939/0.939, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.813e-06/1.813e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.892e-05, allocations: 2.312 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006574/0.006593, allocations: 7.878 MB / 259 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.009711, allocations: 2.568 MB / 261.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.01016, allocations: 23.94 kB / 261.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.01114, allocations: 496.8 kB / 262.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006069/0.01174, allocations: 448.4 kB / 262.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.01206, allocations: 223.5 kB / 262.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008921/0.01295, allocations: 1.28 MB / 264 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.01337, allocations: 342.5 kB / 264.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.01408, allocations: 0.7288 MB / 265.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.01453, allocations: 410.8 kB / 265.5 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01464, allocations: 116 kB / 265.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.01484, allocations: 155.9 kB / 265.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01497, allocations: 247 kB / 266 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.01525, allocations: 403 kB / 266.4 MB, free: 8.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.01599, allocations: 0.8017 MB / 267.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.016, allocations: 0 / 267.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.016, allocations: 0 / 267.2 MB, free: 7.629 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.01601, allocations: 3.984 kB / 267.2 MB, free: 7.625 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.001472/0.01748, allocations: 1.352 MB / 268.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.01753, allocations: 11.98 kB / 268.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.01795, allocations: 224.2 kB / 268.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.01865, allocations: 0.5947 MB / 269.4 MB, free: 5.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.01869, allocations: 62.38 kB / 269.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.01877, allocations: 88.33 kB / 269.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.01953, allocations: 0.7035 MB / 270.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.01956, allocations: 4 kB / 270.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.0196, allocations: 32 kB / 270.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.01962, allocations: 31.98 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.02014, allocations: 299.7 kB / 270.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.0228, allocations: 3.256 MB / 273.8 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.02311, allocations: 162.9 kB / 274 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.0232, allocations: 63.66 kB / 274 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.02322, allocations: 11.88 kB / 274.1 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.02325, allocations: 41.81 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.02325, allocations: 7.938 kB / 274.1 MB, free: 372 kB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.001085/0.02433, allocations: 0.7215 MB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.02437, allocations: 89.03 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.02493, allocations: 0.6945 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.02494, allocations: 29.7 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.02521, allocations: 0.5955 MB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.02527, allocations: 115.1 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.02538, allocations: 131.9 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02554, allocations: 0.5586 MB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.02564, allocations: 61.27 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.02593, allocations: 0.5379 MB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.02635, allocations: 0.6178 MB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02636, allocations: 4 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005716/0.02693, allocations: 0.5438 MB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02695, allocations: 12.22 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.02696, allocations: 12 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.02708, allocations: 35.67 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02734, allocations: 151.7 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/0.02811, allocations: 1.747 MB / 280.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.02833, allocations: 39.97 kB / 280.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.02836, allocations: 32 kB / 280.8 MB, free: 8.992 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.0001493/0.02851, allocations: 204.3 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.02858, allocations: 79.52 kB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.02886, allocations: 239.8 kB / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02886, allocations: 4 kB / 281.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.02887, allocations: 7.984 kB / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.02887, allocations: 0 / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/0.02972, allocations: 0.9239 MB / 282.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02972, allocations: 4 kB / 282.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.02987, allocations: 55.97 kB / 282.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-05/0.02994, allocations: 31.83 kB / 282.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.02995, allocations: 8 kB / 282.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006215/0.03057, allocations: 1.724 MB / 284.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.03057, allocations: 0 / 284.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.03098, allocations: 0.5096 MB / 284.6 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.03109, allocations: 91.52 kB / 284.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.03113, allocations: 15.94 kB / 284.7 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.03128, allocations: 12 kB / 284.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.03133, allocations: 31.89 kB / 284.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.03134, allocations: 8 kB / 284.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003384/0.03168, allocations: 438.9 kB / 285.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03168, allocations: 0 / 285.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.03208, allocations: 171.9 kB / 285.3 MB, free: 4.18 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.0001582/0.03223, allocations: 119.2 kB / 285.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.0327, allocations: 443.3 kB / 285.9 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.0327, allocations: 4 kB / 285.9 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.03287, allocations: 258.9 kB / 286.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.03339, allocations: 190.9 kB / 286.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.0351, allocations: 1.386 MB / 287.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.03519, allocations: 145.8 kB / 287.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.03539, allocations: 89.55 kB / 288 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.03546, allocations: 48.48 kB / 288 MB, free: 1.387 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03546, allocations: 0 / 288 MB, free: 1.387 MB / 266.7 MB Notification: Performance of Templates: time 0.01056/0.04603, allocations: 8.287 MB / 296.3 MB, free: 9.145 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.117124613840133]