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.0009412/0.0009412, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009693/0.0009693, allocations: 163.5 kB / 24.99 MB, free: 8.344 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.9279/0.9279, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2298/0.2298, allocations: 32.81 MB / 294.6 MB, free: 1.27 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.212e-06/1.212e-06, allocations: 0 / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.429e-05, allocations: 2.312 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00118/0.001204, allocations: 0.5477 MB / 376.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005651/0.001769, allocations: 382.8 kB / 376.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.001799, allocations: 0 / 376.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.001817, allocations: 7.875 kB / 376.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.919e-05/0.001836, allocations: 0 / 376.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.002217, allocations: 147.5 kB / 377 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.002272, allocations: 31.92 kB / 377.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.002305, allocations: 0 / 377.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.002337, allocations: 23.97 kB / 377.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.002383, allocations: 15.91 kB / 377.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.002395, allocations: 4 kB / 377.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.002566, allocations: 131.8 kB / 377.3 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.00258, allocations: 11.97 kB / 377.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.0026, allocations: 11.94 kB / 377.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.002788, allocations: 155.6 kB / 377.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00279, allocations: 0 / 377.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002791, allocations: 0 / 377.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.002795, allocations: 0 / 377.4 MB, free: 3.551 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.0003222/0.003117, allocations: 400.2 kB / 377.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.003151, allocations: 8.031 kB / 377.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.00319, allocations: 4.938 kB / 377.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.003272, allocations: 112.6 kB / 377.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003284, allocations: 4.375 kB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.003307, allocations: 12.33 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.003404, allocations: 61.09 kB / 378 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.003416, allocations: 8.188 kB / 378 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.003425, allocations: 4.375 kB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.003435, allocations: 4.125 kB / 378 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.003491, allocations: 39.95 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.003614, allocations: 132.5 kB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.003718, allocations: 86.91 kB / 378.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.003753, allocations: 27.67 kB / 378.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.003926, allocations: 31.97 kB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.003946, allocations: 37.39 kB / 378.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.003947, allocations: 0 / 378.4 MB, free: 2.473 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.09748/0.1014, allocations: 5.41 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1015, allocations: 55.41 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.1016, allocations: 153.9 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1016, allocations: 29.83 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.1016, allocations: 131.2 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.1017, allocations: 79.33 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1018, allocations: 63.33 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1019, allocations: 0.4923 MB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1021, allocations: 59.95 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1022, allocations: 63.95 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1029, allocations: 217.8 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1029, allocations: 3.938 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003652/0.1066, allocations: 253.4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1066, allocations: 4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1066, allocations: 4 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1066, allocations: 7.984 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.1069, allocations: 79.86 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1069, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.107, allocations: 27.97 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.1071, allocations: 19.97 kB / 385.5 MB, free: 11.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 (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.954e-05/0.1072, allocations: 168.5 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.1072, allocations: 19.95 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.108, allocations: 320.8 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.108, allocations: 4 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.108, allocations: 0 / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.108, allocations: 3.984 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.1093, allocations: 0.6641 MB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1093, allocations: 4 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/0.1126, allocations: 87.92 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1126, allocations: 4 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1126, allocations: 11.98 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1126, allocations: 0 / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1126, allocations: 7.922 kB / 386.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1132, allocations: 386.2 kB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.1132, allocations: 7.953 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1132, allocations: 8 kB / 387.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1134, allocations: 35.89 kB / 387.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.1134, allocations: 15.92 kB / 387.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1134, allocations: 15.98 kB / 387.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.1135, allocations: 123.2 kB / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1135, allocations: 0 / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001477/0.115, allocations: 0.6245 MB / 388 MB, free: 8.652 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.005698/0.1207, allocations: 322.6 kB / 388.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.121, allocations: 163.5 kB / 388.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.121, allocations: 4.094 kB / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1211, allocations: 106.3 kB / 388.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.1218, allocations: 27.98 kB / 388.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1223, allocations: 294.1 kB / 388.9 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.1223, allocations: 67.84 kB / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.1225, allocations: 77.27 kB / 389 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.1226, allocations: 48.47 kB / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1226, allocations: 0 / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of Templates: time 0.04818/0.1708, allocations: 55.32 MB / 444.4 MB, free: 108 kB / 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","",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.4862739720847458]