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.0009124/0.0009124, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009088/0.0009088, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9329/0.9329, allocations: 177 MB / 204.8 MB, free: 5.547 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.2281/0.2281, allocations: 34.85 MB / 296.3 MB, free: 484 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.272e-06/1.272e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.553e-05, allocations: 7.156 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001091/0.001116, allocations: 0.5095 MB / 379.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.001362, allocations: 99.72 kB / 379.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.001388, allocations: 0 / 379.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.001405, allocations: 0 / 379.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.001612, allocations: 15.91 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.233e-05/0.001625, allocations: 3.938 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.001672, allocations: 12 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.001704, allocations: 0 / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.762e-05/0.001731, allocations: 7.984 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.001768, allocations: 0 / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.00178, allocations: 0 / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.001852, allocations: 23.92 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.001864, allocations: 3.938 kB / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.001879, allocations: 0 / 379.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.198e-05/0.001961, allocations: 27.89 kB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.001963, allocations: 0 / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.001964, allocations: 0 / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.001968, allocations: 4 kB / 379.4 MB, free: 1.383 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.0003147/0.002283, allocations: 348.4 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.002318, allocations: 8.031 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.002353, allocations: 5.281 kB / 379.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.138e-05/0.002425, allocations: 108.6 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.002435, allocations: 4.375 kB / 379.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.002454, allocations: 8.375 kB / 379.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.051e-05/0.002525, allocations: 34.25 kB / 379.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.002535, allocations: 4.172 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.002542, allocations: 384 / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.002549, allocations: 4.375 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.374e-05/0.002573, allocations: 11.88 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.00268, allocations: 116.6 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.002836, allocations: 35.2 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.002858, allocations: 23.61 kB / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.00304, allocations: 23.97 kB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.003059, allocations: 33.39 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.00306, allocations: 4 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.003658, allocations: 158.1 kB / 380.4 MB, free: 340 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.003685, allocations: 59.34 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.003735, allocations: 149.9 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003744, allocations: 25.7 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.003782, allocations: 130.8 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.003808, allocations: 23.84 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.003839, allocations: 27.5 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.004052, allocations: 492.1 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.004077, allocations: 11.98 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.004094, allocations: 8 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.004138, allocations: 23.69 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.004139, allocations: 0 / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.038e-05/0.004209, allocations: 57.69 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004222, allocations: 8 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004226, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004237, allocations: 0 / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.004307, allocations: 19.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.004312, allocations: 3.938 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.004345, allocations: 7.984 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.00435, allocations: 0 / 381.4 MB, free: 15.23 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 5.595e-05/0.004406, allocations: 156.6 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.004415, allocations: 4 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.004519, allocations: 69.58 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004521, allocations: 4 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.004525, allocations: 3.938 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.004528, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.004858, allocations: 329 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.00486, allocations: 4 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.004897, allocations: 15.92 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.0049, allocations: 0 / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.004909, allocations: 7.938 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.004912, allocations: 7.922 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.004913, allocations: 4.031 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.005016, allocations: 207.6 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.005022, allocations: 4.328 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.005033, allocations: 3.938 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.005075, allocations: 7.984 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.005089, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.005094, allocations: 8 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.005124, allocations: 123.1 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005124, allocations: 0 / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.005275, allocations: 16.03 kB / 382.3 MB, free: 14.19 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.0001037/0.005379, allocations: 107.2 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.005471, allocations: 31.67 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005473, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.005496, allocations: 27.62 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.005644, allocations: 9.391 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.005872, allocations: 134 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.005902, allocations: 55.36 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.005928, allocations: 11.97 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.005954, allocations: 12.5 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005955, allocations: 0 / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Templates: time 0.002165/0.008119, allocations: 0.7723 MB / 383.5 MB, free: 12.98 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: 2.6401211731135845]