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.0009122/0.0009122, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.00219, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007827/0.0007827, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001829, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9811/0.9811, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07903/1.06, allocations: 53.86 MB / 243.8 MB, free: 14.91 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.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.589e-05, allocations: 5.828 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007916/0.007932, allocations: 7.876 MB / 252.9 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.01187, allocations: 2.695 MB / 255.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.01235, allocations: 27.94 kB / 255.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.01335, allocations: 0.4928 MB / 256.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007028/0.01406, allocations: 444.5 kB / 256.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.01442, allocations: 223.5 kB / 256.8 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.01551, allocations: 1.295 MB / 258.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.01598, allocations: 354.5 kB / 258.4 MB, free: 164 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.01699, allocations: 0.8486 MB / 259.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.01748, allocations: 414.8 kB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.0176, allocations: 112 kB / 259.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.01788, allocations: 160 kB / 259.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01801, allocations: 183.4 kB / 260.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.01833, allocations: 335.4 kB / 260.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.01919, allocations: 0.7627 MB / 261.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.0192, allocations: 4 kB / 261.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0192, allocations: 0 / 261.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.01923, allocations: 0 / 261.2 MB, free: 13.36 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.001606/0.02083, allocations: 1.426 MB / 262.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.02087, allocations: 8.031 kB / 262.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.02138, allocations: 285.8 kB / 262.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.02204, allocations: 464.6 kB / 263.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.02209, allocations: 66.38 kB / 263.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/0.02219, allocations: 88.33 kB / 263.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.02289, allocations: 0.646 MB / 264.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.02291, allocations: 4 kB / 264.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.02296, allocations: 36 kB / 264.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.02297, allocations: 20 kB / 264.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.02329, allocations: 221.8 kB / 264.4 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.02597, allocations: 2.614 MB / 267.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.02621, allocations: 129.7 kB / 267.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.02628, allocations: 52.83 kB / 267.2 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.02631, allocations: 4 kB / 267.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.02634, allocations: 42.48 kB / 267.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.02634, allocations: 0 / 267.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009377/0.02728, allocations: 0.5448 MB / 267.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.0273, allocations: 59.41 kB / 267.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.02782, allocations: 0.6067 MB / 268.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.02784, allocations: 29.7 kB / 268.5 MB, free: 5.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.02807, allocations: 484.2 kB / 269 MB, free: 5.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.02814, allocations: 119 kB / 269.1 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02826, allocations: 122.2 kB / 269.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.02838, allocations: 386.6 kB / 269.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.02845, allocations: 45.28 kB / 269.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.02871, allocations: 396.2 kB / 270 MB, free: 3.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.02909, allocations: 492.7 kB / 270.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.0291, allocations: 4 kB / 270.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005016/0.0296, allocations: 418.5 kB / 270.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.02962, allocations: 11.94 kB / 270.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.02963, allocations: 12 kB / 271 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.02974, allocations: 32.84 kB / 271 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.03013, allocations: 175.8 kB / 271.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.03079, allocations: 1.183 MB / 272.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.03107, allocations: 31.95 kB / 272.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.0311, allocations: 24 kB / 272.4 MB, free: 1.367 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.0001455/0.03124, allocations: 165.5 kB / 272.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.03131, allocations: 48.02 kB / 272.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.03156, allocations: 201.2 kB / 272.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.03157, allocations: 4 kB / 272.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.03157, allocations: 0 / 272.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.03157, allocations: 0 / 272.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.03231, allocations: 0.6062 MB / 273.4 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.03231, allocations: 4 kB / 273.4 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.03252, allocations: 72.11 kB / 273.5 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.03263, allocations: 63.53 kB / 273.5 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.0327, allocations: 20.84 kB / 273.6 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.03271, allocations: 8 kB / 273.6 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005535/0.03326, allocations: 1.162 MB / 274.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.03327, allocations: 8 kB / 274.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.03358, allocations: 350.4 kB / 275.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.03364, allocations: 11.94 kB / 275.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.03383, allocations: 19.98 kB / 275.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.03388, allocations: 27.89 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.0339, allocations: 8 kB / 275.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002142/0.03411, allocations: 279.4 kB / 275.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03411, allocations: 8.031 kB / 275.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.03446, allocations: 171.9 kB / 275.6 MB, free: 13.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.0001355/0.0346, allocations: 96.34 kB / 275.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.03492, allocations: 361.8 kB / 276.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/0.03494, allocations: 17.31 kB / 276.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.03505, allocations: 191 kB / 276.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.0355, allocations: 246.1 kB / 276.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/0.04355, allocations: 1.423 MB / 277.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.04365, allocations: 149.8 kB / 278.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.04384, allocations: 93.61 kB / 278.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.04409, allocations: 201.2 kB / 278.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04409, allocations: 0 / 278.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01276/0.05685, allocations: 9.385 MB / 287.7 MB, free: 1.867 MB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6878399942070246]