Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001569/0.001569, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001747/0.001747, allocations: 156.5 kB / 24.55 MB, free: 20 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.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2706/0.2706, allocations: 34.87 MB / 296.3 MB, free: 476 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.757e-05, allocations: 4.703 kB / 378.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001176/0.001203, allocations: 0.5011 MB / 379.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.001477, allocations: 99.72 kB / 379.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.001503, allocations: 0 / 379.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.001522, allocations: 0 / 379.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.00177, allocations: 19.91 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.625e-05/0.001787, allocations: 4 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.001836, allocations: 7.938 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.001877, allocations: 4 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.001906, allocations: 3.938 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.001951, allocations: 3.984 kB / 379.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.001966, allocations: 4 kB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.002053, allocations: 19.92 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.002066, allocations: 0 / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.002085, allocations: 11.92 kB / 379.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.833e-05/0.002174, allocations: 15.97 kB / 379.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002176, allocations: 4 kB / 379.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.002177, allocations: 0 / 379.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.002181, allocations: 4 kB / 379.4 MB, free: 1.371 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002657/0.002447, allocations: 344.4 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.002488, allocations: 12.03 kB / 379.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.002524, allocations: 5.281 kB / 379.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.002598, allocations: 108.6 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.002609, allocations: 8.375 kB / 379.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.002632, allocations: 384 / 379.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.002714, allocations: 34.25 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.002723, allocations: 192 / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.002733, allocations: 4.359 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.002739, allocations: 8.312 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.002765, allocations: 7.938 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.002889, allocations: 116.7 kB / 380.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.003065, allocations: 39.06 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.003089, allocations: 15.77 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.003301, allocations: 23.97 kB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.003323, allocations: 37.39 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.003324, allocations: 7.938 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007666/0.00409, allocations: 154.2 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.00412, allocations: 59.28 kB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.004187, allocations: 149.9 kB / 380.6 MB, free: 92 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.004196, allocations: 29.7 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.004239, allocations: 130.9 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.004267, allocations: 19.97 kB / 380.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.004304, allocations: 27.31 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.004418, allocations: 496.1 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.004445, allocations: 7.984 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.004465, allocations: 12 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.004509, allocations: 23.69 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.00451, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.455e-05/0.004584, allocations: 61.62 kB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.004604, allocations: 4 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004608, allocations: 0 / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.004624, allocations: 0 / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.004692, allocations: 19.98 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.004699, allocations: 3.938 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.004731, allocations: 3.984 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.004737, allocations: 4.25 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.0048, allocations: 156.6 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.004809, allocations: 4 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.004926, allocations: 73.27 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.004928, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.004932, allocations: 3.938 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004936, allocations: 0 / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.005295, allocations: 337 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005297, allocations: 0 / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.005335, allocations: 11.98 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.005338, allocations: 4 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.005346, allocations: 3.938 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005348, allocations: 4.031 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005349, allocations: 0 / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.005454, allocations: 215.6 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.005459, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.00547, allocations: 3.938 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.005511, allocations: 8.266 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.005532, allocations: 11.98 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005536, allocations: 0 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.005562, allocations: 119.2 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005562, allocations: 0 / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.005711, allocations: 19.97 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.005817, allocations: 95.25 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.005915, allocations: 39.66 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.005916, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.00594, allocations: 27.61 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.006091, allocations: 4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.006336, allocations: 138 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.006371, allocations: 59.41 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.006397, allocations: 12.16 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.006426, allocations: 12.5 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.006427, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Templates: time 0.00227/0.008697, allocations: 0.7137 MB / 383.4 MB, free: 13.03 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.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.211593504063785]