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.001115/0.001115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002776, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001101/0.001101, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002628, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.056/1.056, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.161, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.954e-06/1.954e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.509e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007239/0.007264, allocations: 7.891 MB / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.01178, allocations: 2.691 MB / 255.8 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009109/0.0127, allocations: 27.88 kB / 255.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.01391, allocations: 0.4928 MB / 256.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.01496, allocations: 448.5 kB / 256.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.0154, allocations: 219.6 kB / 257 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.01668, allocations: 1.287 MB / 258.3 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.0172, allocations: 362.4 kB / 258.6 MB, free: 80 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.01836, allocations: 0.8486 MB / 259.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.01894, allocations: 414.8 kB / 259.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.01909, allocations: 112 kB / 260 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.01946, allocations: 160 kB / 260.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.01957, allocations: 183.4 kB / 260.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.01989, allocations: 339.4 kB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.02085, allocations: 0.7588 MB / 261.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.02087, allocations: 0 / 261.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02087, allocations: 0 / 261.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.0209, allocations: 0 / 261.4 MB, free: 13.28 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.001687/0.02259, allocations: 1.426 MB / 262.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.02263, allocations: 8.031 kB / 262.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.02313, allocations: 285.9 kB / 263.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.02377, allocations: 468.4 kB / 263.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.02381, allocations: 66.38 kB / 263.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.02389, allocations: 88.33 kB / 263.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.02452, allocations: 0.6421 MB / 264.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.02455, allocations: 11.97 kB / 264.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.02459, allocations: 36 kB / 264.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.0246, allocations: 20 kB / 264.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.02488, allocations: 213.8 kB / 264.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.0274, allocations: 2.618 MB / 267.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.02762, allocations: 130.5 kB / 267.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.02768, allocations: 48.78 kB / 267.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.0277, allocations: 4 kB / 267.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.02773, allocations: 46.5 kB / 267.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.375e-06/0.02774, allocations: 0 / 267.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009268/0.02866, allocations: 0.5526 MB / 268 MB, free: 6.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.02869, allocations: 59.41 kB / 268.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.02913, allocations: 0.6067 MB / 268.7 MB, free: 5.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.02915, allocations: 33.7 kB / 268.7 MB, free: 5.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.02935, allocations: 484.2 kB / 269.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.02942, allocations: 115 kB / 269.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02952, allocations: 122.2 kB / 269.4 MB, free: 4.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.02964, allocations: 386.5 kB / 269.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.02971, allocations: 53.28 kB / 269.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.02994, allocations: 396.2 kB / 270.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.03031, allocations: 0.5133 MB / 270.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.03032, allocations: 0 / 270.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004445/0.03076, allocations: 430.2 kB / 271.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.03078, allocations: 8 kB / 271.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.03079, allocations: 15.94 kB / 271.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.03092, allocations: 32.84 kB / 271.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.03124, allocations: 168.1 kB / 271.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006644/0.0319, allocations: 1.182 MB / 272.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.03215, allocations: 31.95 kB / 272.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.03218, allocations: 28 kB / 272.6 MB, free: 1.223 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.0001395/0.03232, allocations: 165.6 kB / 272.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.03237, allocations: 43.95 kB / 272.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.03259, allocations: 205.2 kB / 273.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.03259, allocations: 4 kB / 273.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03259, allocations: 0 / 273.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.0326, allocations: 0 / 273.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.03328, allocations: 0.5986 MB / 273.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.03328, allocations: 4 kB / 273.7 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.03344, allocations: 67.89 kB / 273.7 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.03355, allocations: 63.53 kB / 273.8 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.457e-05/0.03362, allocations: 20.84 kB / 273.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.03364, allocations: 4 kB / 273.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005107/0.03415, allocations: 1.174 MB / 275 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.03415, allocations: 7.938 kB / 275 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.03446, allocations: 354.4 kB / 275.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.0345, allocations: 11.94 kB / 275.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.03464, allocations: 19.98 kB / 275.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.03468, allocations: 23.95 kB / 275.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.03469, allocations: 12.09 kB / 275.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.03492, allocations: 279.4 kB / 275.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03492, allocations: 4 kB / 275.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000414/0.03533, allocations: 171.9 kB / 275.9 MB, free: 13.82 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.0001629/0.0355, allocations: 96.34 kB / 275.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.03588, allocations: 371.8 kB / 276.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/0.0359, allocations: 16.69 kB / 276.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.03605, allocations: 214.6 kB / 276.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.037, allocations: 1.797 MB / 278.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/0.04519, allocations: 1.42 MB / 279.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.0453, allocations: 153.8 kB / 279.9 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.04556, allocations: 81.66 kB / 280 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.04581, allocations: 201.2 kB / 280.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of SimCode: time 1.814e-06/0.04581, allocations: 3.938 kB / 280.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of Templates: time 0.01373/0.05954, allocations: 9.017 MB / 289.2 MB, free: 160 kB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.825726549141109]