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.001451/0.001451, 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.001628/0.001628, 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.3001/0.3001, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.964e-06/1.964e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.059e-05, allocations: 5.266 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001204/0.001224, allocations: 0.5244 MB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.001877, allocations: 382.8 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.001907, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.001928, allocations: 0 / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.001961, allocations: 3.938 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.002415, allocations: 147.5 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.002474, allocations: 27.91 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.002518, allocations: 7.938 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.002565, allocations: 19.97 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.002623, allocations: 11.98 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.002634, allocations: 4 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.002836, allocations: 139.8 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.002854, allocations: 11.98 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002874, allocations: 11.92 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.003071, allocations: 151.5 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003073, allocations: 0 / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003073, allocations: 0 / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003078, allocations: 0 / 379.9 MB, free: 0.9453 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.0003585/0.003436, allocations: 396.3 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.003482, allocations: 12.02 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.003513, allocations: 12.94 kB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003629, allocations: 104.6 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.003643, allocations: 8.312 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.003666, allocations: 16.27 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.003755, allocations: 54.23 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.003769, allocations: 4.188 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.003777, allocations: 4.375 kB / 380.5 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.003785, allocations: 8.109 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.493e-05/0.00383, allocations: 31.97 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.003962, allocations: 117.1 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.004049, allocations: 86.95 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.004089, allocations: 27.66 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.00427, allocations: 35.91 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.004292, allocations: 37.39 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.004293, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.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.0525/0.05679, allocations: 5.378 MB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.05683, allocations: 55.41 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.05692, allocations: 153.9 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.05694, allocations: 33.7 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.05734, allocations: 127.2 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.0574, allocations: 71.33 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.05748, allocations: 67.31 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.0576, allocations: 0.4923 MB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.05767, allocations: 43.97 kB / 387.3 MB, free: 9.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.05774, allocations: 56.08 kB / 387.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.0582, allocations: 198.2 kB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.0582, allocations: 0 / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003968/0.0586, allocations: 237.2 kB / 387.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.05862, allocations: 4 kB / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.05862, allocations: 0 / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.05864, allocations: 0 / 387.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.05885, allocations: 87.91 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.05885, allocations: 0 / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.05893, allocations: 27.97 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.05895, allocations: 15.98 kB / 387.9 MB, free: 8.758 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.0001043/0.05906, allocations: 164.5 kB / 388 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.05909, allocations: 19.89 kB / 388.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.05961, allocations: 302 kB / 388.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.05962, allocations: 0 / 388.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.05962, allocations: 7.938 kB / 388.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.05962, allocations: 0 / 388.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009335/0.06056, allocations: 0.6404 MB / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.06056, allocations: 0 / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.06069, allocations: 71.92 kB / 389.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.0607, allocations: 4 kB / 389.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.06071, allocations: 19.92 kB / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.06072, allocations: 4 kB / 389.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.06072, allocations: 3.938 kB / 389.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.06113, allocations: 377.8 kB / 389.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.06114, allocations: 7.953 kB / 389.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.06116, allocations: 11.98 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.06125, allocations: 23.97 kB / 389.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.06127, allocations: 23.89 kB / 389.5 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.06129, allocations: 12 kB / 389.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.06132, allocations: 123.2 kB / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06132, allocations: 0 / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001148/0.06247, allocations: 0.6246 MB / 390.3 MB, free: 6.258 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.002017/0.06449, allocations: 326.5 kB / 390.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.06472, allocations: 151.5 kB / 390.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.06472, allocations: 0 / 390.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.06481, allocations: 90.34 kB / 390.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.06501, allocations: 27.92 kB / 390.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.06547, allocations: 290.3 kB / 391.2 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.06552, allocations: 67.84 kB / 391.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.06567, allocations: 73.14 kB / 391.3 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.06581, allocations: 118.2 kB / 391.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of SimCode: time 1.954e-06/0.06581, allocations: 0 / 391.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of Templates: time 0.2295/0.2953, allocations: 59.67 MB / 451.1 MB, free: 104.3 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.950219605118036]