Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002438/0.002438, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002864/0.002864, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3277/0.3277, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.098e-05, allocations: 2.312 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001639/0.00167, allocations: 0.5399 MB / 375.8 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.002495, allocations: 386.8 kB / 376.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.002523, allocations: 0 / 376.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.002538, allocations: 3.938 kB / 376.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.002577, allocations: 0 / 376.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.003071, allocations: 139.4 kB / 376.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.003137, allocations: 39.89 kB / 376.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.003174, allocations: 4 kB / 376.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.003222, allocations: 19.97 kB / 376.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.00328, allocations: 15.92 kB / 376.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.003294, allocations: 0 / 376.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.003569, allocations: 135.8 kB / 376.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.00359, allocations: 8 kB / 376.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.003614, allocations: 11.92 kB / 376.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.003879, allocations: 151.6 kB / 376.7 MB, free: 3.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00388, allocations: 4 kB / 376.7 MB, free: 3.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003881, allocations: 0 / 376.7 MB, free: 3.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.003885, allocations: 0 / 376.7 MB, free: 3.574 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004999/0.004385, allocations: 395.9 kB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.004424, allocations: 8.031 kB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.004475, allocations: 4.938 kB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.0046, allocations: 120.5 kB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.004616, allocations: 4.375 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.00465, allocations: 16.31 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.004793, allocations: 58.23 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.004805, allocations: 192 / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.004818, allocations: 8.375 kB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.004826, allocations: 8.125 kB / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.004927, allocations: 43.95 kB / 377.3 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.005133, allocations: 132.5 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.0053, allocations: 86.97 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.00536, allocations: 31.67 kB / 377.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.005609, allocations: 31.95 kB / 377.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.005653, allocations: 45.38 kB / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.005654, allocations: 4 kB / 377.7 MB, free: 2.469 MB / 346.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.1463/0.1519, allocations: 5.676 MB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.152, allocations: 55.41 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1521, allocations: 149.9 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1521, allocations: 33.7 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.1522, allocations: 127.2 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1523, allocations: 75.34 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1525, allocations: 67.33 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.1527, allocations: 0.4884 MB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.1531, allocations: 128 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.1536, allocations: 127.9 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.1551, allocations: 339.3 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1551, allocations: 3.938 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001359/0.1564, allocations: 385.2 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1565, allocations: 6.656 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1565, allocations: 0 / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1565, allocations: 0 / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.1569, allocations: 95.84 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1569, allocations: 0 / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1571, allocations: 27.97 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1571, allocations: 15.97 kB / 385.4 MB, free: 10.59 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 (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 0.0001652/0.1573, allocations: 168.5 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.1574, allocations: 19.95 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1589, allocations: 448.1 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1589, allocations: 0 / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1589, allocations: 4 kB / 386.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1589, allocations: 4 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.1615, allocations: 0.789 MB / 386.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1615, allocations: 3.938 kB / 386.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.1618, allocations: 75.94 kB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1618, allocations: 4 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.1618, allocations: 15.98 kB / 386.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1619, allocations: 3.984 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1619, allocations: 3.938 kB / 387 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1632, allocations: 497.9 kB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.1632, allocations: 7.953 kB / 387.4 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1633, allocations: 8 kB / 387.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1635, allocations: 35.89 kB / 387.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1635, allocations: 11.92 kB / 387.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.1636, allocations: 23.98 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.024e-05/0.1636, allocations: 123.2 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1636, allocations: 0 / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001924/0.1656, allocations: 0.6284 MB / 388.3 MB, free: 7.656 MB / 362.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.003196/0.1688, allocations: 318.6 kB / 388.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.1697, allocations: 286.5 kB / 388.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1697, allocations: 4 kB / 388.9 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.1702, allocations: 155.5 kB / 389 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1705, allocations: 27.98 kB / 389 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1716, allocations: 362.1 kB / 389.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.1717, allocations: 75.83 kB / 389.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.172, allocations: 77.14 kB / 389.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1721, allocations: 48.45 kB / 389.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1721, allocations: 0 / 389.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of Templates: time 0.2039/0.376, allocations: 55.31 MB / 444.9 MB, free: 108.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6143797260010615]