Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.381e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01035/0.01037, allocations: 7.084 MB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.01525, allocations: 2.477 MB / 281.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.0158, allocations: 27.88 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.01713, allocations: 488.8 kB / 282.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009535/0.01809, allocations: 448.5 kB / 282.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.01854, allocations: 219.6 kB / 282.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.02022, allocations: 1.283 MB / 284.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006031/0.02083, allocations: 342.5 kB / 284.5 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.02185, allocations: 0.7404 MB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.02242, allocations: 378.8 kB / 285.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.02257, allocations: 112 kB / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.02286, allocations: 163.9 kB / 285.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.0231, allocations: 243.1 kB / 286.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.02355, allocations: 391.1 kB / 286.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.02534, allocations: 1.472 MB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.02535, allocations: 0 / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02535, allocations: 0 / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.02536, allocations: 0 / 288 MB, free: 1.875 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.002418/0.02778, allocations: 1.24 MB / 289.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.02782, allocations: 15.98 kB / 289.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.02864, allocations: 244.2 kB / 289.5 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09539/0.124, allocations: 0.5873 MB / 290.1 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.1241, allocations: 63.28 kB / 290.2 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.1242, allocations: 87.2 kB / 290.2 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1255, allocations: 0.8764 MB / 291.1 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.1256, allocations: 4.594 kB / 291.1 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.1256, allocations: 33.27 kB / 291.2 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.1256, allocations: 20.97 kB / 291.2 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.1266, allocations: 0.5444 MB / 291.7 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.13, allocations: 2.997 MB / 294.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.1305, allocations: 228.3 kB / 294.9 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1307, allocations: 115.6 kB / 295.1 MB, free: 26.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1307, allocations: 4.875 kB / 295.1 MB, free: 26.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.1307, allocations: 34.27 kB / 295.1 MB, free: 25.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.1307, allocations: 0.5312 kB / 295.1 MB, free: 25.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001795/0.1325, allocations: 0.9404 MB / 296 MB, free: 25.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1325, allocations: 81.16 kB / 296.1 MB, free: 25.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.1333, allocations: 0.6876 MB / 296.8 MB, free: 25.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1333, allocations: 31.42 kB / 296.8 MB, free: 25.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1335, allocations: 0.5393 MB / 297.4 MB, free: 24.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.1336, allocations: 110.9 kB / 297.5 MB, free: 24.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.1337, allocations: 124.7 kB / 297.6 MB, free: 24.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1338, allocations: 373.7 kB / 298 MB, free: 24.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.1341, allocations: 130 kB / 298.1 MB, free: 24.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.1345, allocations: 480.6 kB / 298.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.1351, allocations: 0.6129 MB / 299.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1351, allocations: 3.531 kB / 299.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001014/0.1361, allocations: 0.6749 MB / 299.8 MB, free: 22.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1362, allocations: 8.844 kB / 299.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1362, allocations: 10.72 kB / 299.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.1363, allocations: 35.27 kB / 299.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.1368, allocations: 151.8 kB / 300.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.1374, allocations: 1.271 MB / 301.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.1379, allocations: 42.09 kB / 301.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.1379, allocations: 36.59 kB / 301.4 MB, free: 21.48 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.0002405/0.1382, allocations: 238.2 kB / 301.6 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1383, allocations: 82.08 kB / 301.7 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.1389, allocations: 326.9 kB / 302 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1389, allocations: 8.234 kB / 302 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1389, allocations: 0 / 302 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1389, allocations: 2.766 kB / 302 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1402, allocations: 0.9247 MB / 303 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1402, allocations: 1.781 kB / 303 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.1405, allocations: 65.41 kB / 303 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.1406, allocations: 22.62 kB / 303.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1406, allocations: 9.531 kB / 303.1 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/0.1412, allocations: 1.254 MB / 304.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1412, allocations: 1.375 kB / 304.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.142, allocations: 0.5682 MB / 304.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.1421, allocations: 97.12 kB / 305 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.1422, allocations: 9.297 kB / 305 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.1425, allocations: 20.14 kB / 305 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.1426, allocations: 29.25 kB / 305 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1426, allocations: 8.547 kB / 305 MB, free: 18.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.1431, allocations: 466.5 kB / 305.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1431, allocations: 0 / 305.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006632/0.1438, allocations: 172.9 kB / 305.7 MB, free: 18.59 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.000157/0.1439, allocations: 124.7 kB / 305.8 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.1447, allocations: 463.2 kB / 306.2 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1447, allocations: 3.719 kB / 306.2 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1451, allocations: 251.4 kB / 306.5 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.1459, allocations: 186.1 kB / 306.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1477, allocations: 1.393 MB / 308.1 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.148, allocations: 365.3 kB / 308.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.1482, allocations: 82.55 kB / 308.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.1483, allocations: 48.81 kB / 308.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1483, allocations: 0 / 308.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of Templates: time 0.0123/0.1606, allocations: 8.271 MB / 316.8 MB, free: 9.094 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.763078405987471]