Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001194/0.001194, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001239/0.001239, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.836/0.836, allocations: 158.6 MB / 186 MB, free: 2.273 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1178/0.1178, allocations: 32.36 MB / 270.7 MB, free: 14.72 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 347.6 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.442e-05, allocations: 4.281 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0008527/0.0008671, allocations: 0.555 MB / 348.2 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.001369, allocations: 382.8 kB / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.001398, allocations: 0 / 348.6 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.001416, allocations: 3.938 kB / 348.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.001443, allocations: 3.938 kB / 348.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.00183, allocations: 143.5 kB / 348.7 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.001889, allocations: 19.98 kB / 348.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.00193, allocations: 15.97 kB / 348.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.001962, allocations: 19.92 kB / 348.8 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.002016, allocations: 19.97 kB / 348.8 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.00203, allocations: 7.938 kB / 348.8 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.002198, allocations: 127.9 kB / 348.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.002213, allocations: 11.91 kB / 348.9 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.002234, allocations: 15.98 kB / 349 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.002397, allocations: 147.5 kB / 349.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.0024, allocations: 0 / 349.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002401, allocations: 0 / 349.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.002404, allocations: 4 kB / 349.1 MB, free: 8.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002859/0.00269, allocations: 396.3 kB / 349.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.002729, allocations: 12.03 kB / 349.5 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.002768, allocations: 4.938 kB / 349.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.002838, allocations: 112.6 kB / 349.6 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.00285, allocations: 4.375 kB / 349.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.002875, allocations: 12.27 kB / 349.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.002981, allocations: 62.22 kB / 349.7 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.002994, allocations: 192 / 349.7 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003004, allocations: 4.375 kB / 349.7 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.003014, allocations: 4.125 kB / 349.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.332e-05/0.003067, allocations: 39.95 kB / 349.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.003179, allocations: 136.5 kB / 349.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.00327, allocations: 78.97 kB / 350 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.003302, allocations: 27.67 kB / 350 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.003479, allocations: 31.97 kB / 350 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.003495, allocations: 37.33 kB / 350.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.41e-07/0.003495, allocations: 0 / 350.1 MB, free: 7.25 MB / 282.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.05704/0.06054, allocations: 5.411 MB / 355.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.06056, allocations: 51.41 kB / 355.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.06061, allocations: 153.9 kB / 355.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.06062, allocations: 29.7 kB / 355.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.267e-05/0.06064, allocations: 127.2 kB / 355.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.06069, allocations: 83.31 kB / 355.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.06075, allocations: 71.45 kB / 356 MB, free: 1.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.06079, allocations: 0.4884 MB / 356.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.06087, allocations: 59.95 kB / 356.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.06095, allocations: 69.17 kB / 356.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.06144, allocations: 211.9 kB / 356.8 MB, free: 412 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.06144, allocations: 3.938 kB / 356.8 MB, free: 408 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004005/0.06184, allocations: 261.3 kB / 357.1 MB, free: 140 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.06186, allocations: 7.984 kB / 357.1 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.06186, allocations: 0 / 357.1 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.06188, allocations: 0 / 357.1 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.06207, allocations: 83.92 kB / 357.1 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.06207, allocations: 3.938 kB / 357.1 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.06216, allocations: 31.95 kB / 357.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.06219, allocations: 12.08 kB / 357.2 MB, free: 16 MB / 298.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 (23): * Single equations (assignments): 23 * 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 9.567e-05/0.06229, allocations: 172.5 kB / 357.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.06232, allocations: 11.95 kB / 357.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.06289, allocations: 330 kB / 357.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.06289, allocations: 4 kB / 357.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0629, allocations: 0 / 357.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.0629, allocations: 3.984 kB / 357.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.06388, allocations: 0.6641 MB / 358.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.06388, allocations: 0 / 358.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.06402, allocations: 75.92 kB / 358.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.06403, allocations: 0 / 358.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.06405, allocations: 15.98 kB / 358.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.06405, allocations: 16.05 kB / 358.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.06405, allocations: 3.938 kB / 358.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.06449, allocations: 391.2 kB / 358.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.06451, allocations: 7.953 kB / 358.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.06453, allocations: 7.984 kB / 358.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.06462, allocations: 27.91 kB / 358.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.06464, allocations: 19.97 kB / 358.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.06466, allocations: 8 kB / 358.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.852e-05/0.06469, allocations: 127.2 kB / 359 MB, free: 14.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06469, allocations: 0 / 359 MB, free: 14.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001051/0.06574, allocations: 0.6284 MB / 359.7 MB, free: 13.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002151/0.06789, allocations: 334.4 kB / 360 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.06814, allocations: 159.7 kB / 360.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.06814, allocations: 0 / 360.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/0.06824, allocations: 103.4 kB / 360.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.06843, allocations: 28.2 kB / 360.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.06914, allocations: 302.1 kB / 360.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.06918, allocations: 67.84 kB / 360.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.06933, allocations: 77.14 kB / 360.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.06942, allocations: 48.45 kB / 360.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.06942, allocations: 0 / 360.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of Templates: time 0.05052/0.1199, allocations: 55.31 MB / 416.1 MB, free: 4.742 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.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.3778798661660403]