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.001077/0.001077, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001619/0.001619, allocations: 168.5 kB / 25.33 MB, free: 9.074 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.929/0.929, allocations: 158.6 MB / 187.2 MB, free: 2.891 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.643e-06/1.643e-06, allocations: 0 / 251.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.951e-05, allocations: 2.312 kB / 251.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006439/0.006458, allocations: 7.927 MB / 259 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.009866, allocations: 2.576 MB / 261.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.01024, allocations: 27.88 kB / 261.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.01121, allocations: 488.8 kB / 262.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.01183, allocations: 452.4 kB / 262.5 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.01214, allocations: 223.5 kB / 262.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009665/0.0131, allocations: 1.276 MB / 264 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.01351, allocations: 342.5 kB / 264.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.01418, allocations: 0.7404 MB / 265.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.01458, allocations: 406.8 kB / 265.5 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.266e-05/0.01467, allocations: 116 kB / 265.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.01487, allocations: 155.9 kB / 265.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01498, allocations: 243 kB / 266 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.01523, allocations: 395 kB / 266.4 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.0159, allocations: 0.7939 MB / 267.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.0159, allocations: 0 / 267.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0159, allocations: 0 / 267.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.01591, allocations: 0 / 267.2 MB, free: 3.387 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.001255/0.01717, allocations: 1.356 MB / 268.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01721, allocations: 15.98 kB / 268.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.01757, allocations: 228.1 kB / 268.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.01815, allocations: 0.5694 MB / 269.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.01819, allocations: 62.38 kB / 269.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.01835, allocations: 88.38 kB / 269.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.01908, allocations: 0.6996 MB / 270.2 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.0191, allocations: 3.953 kB / 270.2 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.01914, allocations: 39.98 kB / 270.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.01916, allocations: 20 kB / 270.2 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.01959, allocations: 311.6 kB / 270.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.02216, allocations: 3.26 MB / 273.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.02243, allocations: 166.1 kB / 274 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.02252, allocations: 63.66 kB / 274 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.02254, allocations: 7.938 kB / 274 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.02256, allocations: 37.83 kB / 274.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.02256, allocations: 0 / 274.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001348/0.02391, allocations: 0.7331 MB / 274.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.02396, allocations: 81.11 kB / 274.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.02451, allocations: 0.6945 MB / 275.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.02453, allocations: 33.7 kB / 275.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.0248, allocations: 0.5955 MB / 276.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.02486, allocations: 111.1 kB / 276.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.02496, allocations: 123.9 kB / 276.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.02512, allocations: 0.5664 MB / 277 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.02521, allocations: 61.27 kB / 277.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.0255, allocations: 0.5339 MB / 277.6 MB, free: 8.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.02593, allocations: 0.6295 MB / 278.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.02593, allocations: 4 kB / 278.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005848/0.02652, allocations: 0.5437 MB / 278.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.02654, allocations: 8 kB / 278.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.02656, allocations: 12 kB / 278.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.02673, allocations: 31.67 kB / 278.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.027, allocations: 147.8 kB / 279 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008168/0.02782, allocations: 1.755 MB / 280.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.02803, allocations: 31.91 kB / 280.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.02806, allocations: 32 kB / 280.8 MB, free: 4.77 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.0001574/0.02821, allocations: 220.3 kB / 281 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.02828, allocations: 79.52 kB / 281.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.02858, allocations: 231.9 kB / 281.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02858, allocations: 4 kB / 281.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.02858, allocations: 0 / 281.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02859, allocations: 7.969 kB / 281.3 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.02992, allocations: 0.9238 MB / 282.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02993, allocations: 8.219 kB / 282.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.03008, allocations: 59.91 kB / 282.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-05/0.03014, allocations: 23.67 kB / 282.3 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.03016, allocations: 8 kB / 282.3 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006823/0.03084, allocations: 1.732 MB / 284.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03084, allocations: 0 / 284.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.0313, allocations: 0.4978 MB / 284.6 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.03141, allocations: 87.53 kB / 284.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.03146, allocations: 16 kB / 284.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.03161, allocations: 15.98 kB / 284.7 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.03169, allocations: 31.83 kB / 284.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.0317, allocations: 12 kB / 284.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005107/0.03221, allocations: 443 kB / 285.1 MB, free: 116 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03221, allocations: 0 / 285.1 MB, free: 116 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.03266, allocations: 168 kB / 285.3 MB, free: 15.95 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.0001999/0.03286, allocations: 111.2 kB / 285.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.03344, allocations: 443.8 kB / 285.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03344, allocations: 0.8125 kB / 285.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.03364, allocations: 265.6 kB / 286.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.03424, allocations: 195.4 kB / 286.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.03614, allocations: 1.382 MB / 287.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.03624, allocations: 149.8 kB / 287.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.03644, allocations: 81.55 kB / 287.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.03652, allocations: 52.5 kB / 288 MB, free: 13.16 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.03652, allocations: 0 / 288 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01188/0.04841, allocations: 8.828 MB / 296.8 MB, free: 4.359 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.1549946637824178]