Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009392/0.0009392, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001048/0.001048, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8681/0.8681, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.638e-05, allocations: 2.312 kB / 273.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006436/0.006452, allocations: 7.836 MB / 281.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.01039, allocations: 2.677 MB / 284 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.01079, allocations: 27.88 kB / 284 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.01178, allocations: 0.493 MB / 284.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.01237, allocations: 444.5 kB / 285 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.01268, allocations: 227.5 kB / 285.2 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007884/0.01347, allocations: 1.291 MB / 286.5 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.01385, allocations: 362.5 kB / 286.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.01444, allocations: 0.7404 MB / 287.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.0148, allocations: 410.8 kB / 288 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.01489, allocations: 112 kB / 288.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.01508, allocations: 160 kB / 288.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.0152, allocations: 243 kB / 288.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.01546, allocations: 399 kB / 288.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.01637, allocations: 0.8094 MB / 289.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01637, allocations: 0 / 289.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01637, allocations: 0 / 289.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01638, allocations: 0 / 289.7 MB, free: 4.117 MB / 266.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.001056/0.01743, allocations: 1.208 MB / 290.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.01746, allocations: 8.031 kB / 290.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.01783, allocations: 208.8 kB / 291.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.01832, allocations: 452.6 kB / 291.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.01836, allocations: 70.38 kB / 291.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.01843, allocations: 84.31 kB / 291.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.01894, allocations: 0.6461 MB / 292.3 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.01897, allocations: 7.891 kB / 292.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.019, allocations: 36 kB / 292.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01901, allocations: 27.98 kB / 292.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.01925, allocations: 209.8 kB / 292.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.02122, allocations: 2.598 MB / 295.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.02142, allocations: 146.3 kB / 295.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.02148, allocations: 44.84 kB / 295.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.02149, allocations: 4 kB / 295.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.02152, allocations: 46.5 kB / 295.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.142e-06/0.02152, allocations: 0 / 295.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007485/0.02227, allocations: 0.5522 MB / 296 MB, free: 13.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.0223, allocations: 81.11 kB / 296.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.02295, allocations: 0.6106 MB / 296.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.02296, allocations: 29.7 kB / 296.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.02314, allocations: 480.2 kB / 297.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.02319, allocations: 115 kB / 297.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.02328, allocations: 122.2 kB / 297.4 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.02338, allocations: 386.6 kB / 297.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.02344, allocations: 45.28 kB / 297.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.02363, allocations: 396.1 kB / 298.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.02393, allocations: 492.4 kB / 298.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.02393, allocations: 4 kB / 298.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003796/0.02431, allocations: 418 kB / 299.1 MB, free: 9.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.02432, allocations: 8.938 kB / 299.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.02434, allocations: 12 kB / 299.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.383e-05/0.02443, allocations: 32.84 kB / 299.2 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.02469, allocations: 159.7 kB / 299.3 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/0.02524, allocations: 1.174 MB / 300.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.02543, allocations: 44.06 kB / 300.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.02546, allocations: 28 kB / 300.6 MB, free: 8.434 MB / 282.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.0001271/0.02558, allocations: 153.5 kB / 300.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.02564, allocations: 51.94 kB / 300.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.02585, allocations: 193.3 kB / 301 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02585, allocations: 4 kB / 301 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02586, allocations: 0 / 301 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02586, allocations: 7.984 kB / 301 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.02645, allocations: 0.6121 MB / 301.6 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02646, allocations: 0 / 301.6 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.02661, allocations: 67.83 kB / 301.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.938e-05/0.02666, allocations: 20.86 kB / 301.7 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.02667, allocations: 16.2 kB / 301.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004438/0.02711, allocations: 1.147 MB / 302.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.02711, allocations: 7.984 kB / 302.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.02746, allocations: 354.4 kB / 303.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/0.02755, allocations: 75.64 kB / 303.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.02759, allocations: 11.94 kB / 303.3 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.02772, allocations: 15.98 kB / 303.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.02777, allocations: 27.89 kB / 303.3 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.02778, allocations: 8 kB / 303.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.02799, allocations: 283.4 kB / 303.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02799, allocations: 0 / 303.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.02835, allocations: 167.9 kB / 303.8 MB, free: 5.035 MB / 282.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.0001418/0.02849, allocations: 104.3 kB / 303.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.02882, allocations: 365.5 kB / 304.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/0.02883, allocations: 12.5 kB / 304.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.02895, allocations: 185.7 kB / 304.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.02938, allocations: 186.5 kB / 304.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.03084, allocations: 1.336 MB / 305.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.03093, allocations: 145.8 kB / 306.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.03111, allocations: 85.64 kB / 306.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.03136, allocations: 205.2 kB / 306.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03136, allocations: 0 / 306.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of Templates: time 0.0116/0.04296, allocations: 8.93 MB / 315.3 MB, free: 9.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.814418289810419]