Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00151/0.00151, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001637/0.001637, allocations: 161.6 kB / 24.26 MB, free: 180 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.661/1.661, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.342/0.342, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.784e-05, allocations: 6.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001555/0.001583, allocations: 0.5353 MB / 377.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00081/0.002393, allocations: 366.9 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.002421, allocations: 4 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.002438, allocations: 3.938 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.002468, allocations: 0 / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.002969, allocations: 147.4 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.003031, allocations: 23.97 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.003071, allocations: 4 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.003112, allocations: 19.92 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.003172, allocations: 19.97 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003185, allocations: 4 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.003445, allocations: 139.8 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.003458, allocations: 3.938 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.003494, allocations: 19.97 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.003739, allocations: 147.5 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003741, allocations: 0 / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003742, allocations: 0 / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003745, allocations: 0 / 378.7 MB, free: 1.539 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.0004606/0.004206, allocations: 294 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.004256, allocations: 12.03 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.00431, allocations: 8.922 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.004426, allocations: 113.7 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.004444, allocations: 8.375 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.004476, allocations: 8.328 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.004619, allocations: 65.98 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.004633, allocations: 4.188 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.004644, allocations: 384 / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.004652, allocations: 4.125 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.004745, allocations: 47.89 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.004932, allocations: 125.2 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.005091, allocations: 86.48 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.005144, allocations: 28.84 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.005387, allocations: 27.97 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.005426, allocations: 34.56 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.005427, allocations: 0 / 379.5 MB, free: 0.582 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.1281/0.1336, allocations: 5.63 MB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.1336, allocations: 55.41 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1337, allocations: 89.86 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.1338, allocations: 29.7 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1338, allocations: 84.52 kB / 385.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1339, allocations: 71.34 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1341, allocations: 57.67 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1343, allocations: 322.8 kB / 385.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1346, allocations: 112 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.135, allocations: 115.8 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.1366, allocations: 335 kB / 386.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1366, allocations: 3.938 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001316/0.1379, allocations: 361.2 kB / 386.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1379, allocations: 4 kB / 386.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1379, allocations: 4 kB / 386.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1379, allocations: 0 / 386.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.1384, allocations: 83.84 kB / 386.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1384, allocations: 4 kB / 386.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1386, allocations: 23.97 kB / 386.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1386, allocations: 15.98 kB / 386.9 MB, free: 9.125 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.0001424/0.1388, allocations: 121.8 kB / 387 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.1388, allocations: 15.95 kB / 387 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.1404, allocations: 428.2 kB / 387.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1404, allocations: 8 kB / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1404, allocations: 0 / 387.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.1404, allocations: 3.984 kB / 387.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.1429, allocations: 0.709 MB / 388.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1429, allocations: 0 / 388.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.1432, allocations: 75.88 kB / 388.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.1432, allocations: 7.984 kB / 388.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.1433, allocations: 12 kB / 388.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1433, allocations: 0 / 388.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1433, allocations: 7.922 kB / 388.3 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.1447, allocations: 428.8 kB / 388.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.1447, allocations: 7.953 kB / 388.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1448, allocations: 4 kB / 388.7 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.145, allocations: 39.89 kB / 388.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.145, allocations: 7.984 kB / 388.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.1451, allocations: 19.98 kB / 388.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.1451, allocations: 79.22 kB / 388.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1451, allocations: 0 / 388.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001838/0.1469, allocations: 0.6284 MB / 389.5 MB, free: 6.469 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.003236/0.1502, allocations: 326.5 kB / 389.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/0.1511, allocations: 246 kB / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1511, allocations: 0 / 390 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.1515, allocations: 131.9 kB / 390.2 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1518, allocations: 30.58 kB / 390.2 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1528, allocations: 338.8 kB / 390.5 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.1529, allocations: 83.77 kB / 390.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.1532, allocations: 77.14 kB / 390.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1534, allocations: 52.45 kB / 390.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1534, allocations: 0 / 390.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of Templates: time 0.2343/0.3877, allocations: 54.17 MB / 444.9 MB, free: 106.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.737929195049219]