Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2802/0.2802, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.07e-05, allocations: 6.25 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001494/0.001514, allocations: 0.5126 MB / 377 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.001848, allocations: 99.7 kB / 377.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.001889, allocations: 0 / 377.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.001913, allocations: 0 / 377.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.002179, allocations: 15.92 kB / 377.1 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.569e-05/0.002195, allocations: 3.938 kB / 377.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.002242, allocations: 7.984 kB / 377.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.002283, allocations: 0 / 377.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.002318, allocations: 12 kB / 377.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.002371, allocations: 3.984 kB / 377.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.002387, allocations: 0 / 377.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.002478, allocations: 19.98 kB / 377.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.002495, allocations: 3.938 kB / 377.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.294e-05/0.002508, allocations: 0 / 377.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.77e-05/0.002605, allocations: 27.89 kB / 377.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002607, allocations: 0 / 377.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002608, allocations: 0 / 377.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.002612, allocations: 0 / 377.2 MB, free: 3.719 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.0003016/0.002914, allocations: 344.4 kB / 377.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.002959, allocations: 12.03 kB / 377.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.002992, allocations: 5.281 kB / 377.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.651e-05/0.003089, allocations: 116.5 kB / 377.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003099, allocations: 384 / 377.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.003114, allocations: 4.375 kB / 377.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.574e-05/0.00318, allocations: 34.25 kB / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00319, allocations: 192 / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.003196, allocations: 384 / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003202, allocations: 384 / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.00322, allocations: 7.938 kB / 377.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.003328, allocations: 101.2 kB / 377.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.003467, allocations: 46.98 kB / 377.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.003483, allocations: 19.75 kB / 377.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.003649, allocations: 23.97 kB / 377.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.00367, allocations: 37.39 kB / 377.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.00367, allocations: 0 / 377.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005564/0.004227, allocations: 166.1 kB / 378.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.004254, allocations: 51.41 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.004309, allocations: 153.9 kB / 378.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004319, allocations: 25.7 kB / 378.3 MB, free: 2.426 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.004349, allocations: 130.9 kB / 378.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.004376, allocations: 15.84 kB / 378.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.004406, allocations: 27.36 kB / 378.5 MB, free: 2.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.004512, allocations: 496.1 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.00453, allocations: 12.11 kB / 379 MB, free: 1.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.004543, allocations: 4 kB / 379 MB, free: 1.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.004577, allocations: 27.62 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.004578, allocations: 0 / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.086e-05/0.004639, allocations: 49.69 kB / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.004649, allocations: 4 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004653, allocations: 4 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004664, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.004725, allocations: 11.98 kB / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/0.004727, allocations: 0 / 379.1 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.004759, allocations: 15.92 kB / 379.1 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.004764, allocations: 0 / 379.1 MB, free: 1.609 MB / 346.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.097e-05/0.004825, allocations: 164.5 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.004832, allocations: 0 / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.004925, allocations: 65.33 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.004927, allocations: 0 / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.004929, allocations: 0 / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.004937, allocations: 7.938 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.005231, allocations: 314 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.005234, allocations: 8 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.005268, allocations: 11.98 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005269, allocations: 0 / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005275, allocations: 4 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005276, allocations: 3.938 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005277, allocations: 3.938 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.673e-05/0.005374, allocations: 207.6 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.00538, allocations: 7.984 kB / 379.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005388, allocations: 4 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.005428, allocations: 4 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.005442, allocations: 11.92 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005445, allocations: 0 / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.903e-05/0.005474, allocations: 123.2 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005474, allocations: 0 / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.005622, allocations: 11.94 kB / 380 MB, free: 0.6016 MB / 346.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 9.986e-05/0.005722, allocations: 103.3 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.005793, allocations: 35.61 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005794, allocations: 0 / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.00582, allocations: 23.94 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.005966, allocations: 4 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.006167, allocations: 133.9 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.006199, allocations: 59.34 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.006225, allocations: 8.062 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.006272, allocations: 70.2 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006272, allocations: 0 / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of Templates: time 0.002055/0.008328, allocations: 0.7847 MB / 381.2 MB, free: 15.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.734647737350315]