Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2699/0.2699, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 4 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.512e-05, allocations: 8.5 kB / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001193/0.001228, allocations: 0.5399 MB / 379.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005652/0.001794, allocations: 382.8 kB / 379.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.001823, allocations: 0 / 379.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.001842, allocations: 3.938 kB / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.001864, allocations: 0 / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.002264, allocations: 139.4 kB / 379.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.002328, allocations: 31.95 kB / 379.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.002366, allocations: 0 / 379.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.002402, allocations: 27.91 kB / 379.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.002449, allocations: 11.98 kB / 379.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.002461, allocations: 4 kB / 379.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.002639, allocations: 143.7 kB / 380 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.002654, allocations: 7.984 kB / 380 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.002673, allocations: 8 kB / 380 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.00285, allocations: 159.5 kB / 380.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.002853, allocations: 4 kB / 380.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002854, allocations: 0 / 380.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.002858, allocations: 0 / 380.2 MB, free: 0.9492 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.0003324/0.00319, allocations: 392.3 kB / 380.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.003226, allocations: 8.031 kB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.00327, allocations: 4.938 kB / 380.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.003357, allocations: 108.6 kB / 380.7 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.003373, allocations: 12.36 kB / 380.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.003397, allocations: 8.328 kB / 380.7 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.003495, allocations: 58.17 kB / 380.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.003505, allocations: 8.188 kB / 380.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.003514, allocations: 384 / 380.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.003523, allocations: 4.125 kB / 380.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.00358, allocations: 43.95 kB / 380.8 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.003706, allocations: 132.5 kB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.003813, allocations: 94.98 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.003849, allocations: 23.69 kB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.004019, allocations: 35.95 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.004038, allocations: 37.33 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.00404, allocations: 8 kB / 381.1 MB, free: 15.86 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.05897/0.06301, allocations: 5.395 MB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.06305, allocations: 55.41 kB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.06312, allocations: 149.9 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.06315, allocations: 37.77 kB / 386.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.06318, allocations: 135.2 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.06325, allocations: 75.34 kB / 387 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.06332, allocations: 67.27 kB / 387 MB, free: 9.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.06344, allocations: 0.4923 MB / 387.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.06353, allocations: 55.97 kB / 387.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.06362, allocations: 65.38 kB / 387.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.06413, allocations: 213.9 kB / 387.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.06413, allocations: 3.938 kB / 387.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004484/0.06458, allocations: 260.6 kB / 388.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.0646, allocations: 8 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.06461, allocations: 4 kB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.06462, allocations: 0 / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.06482, allocations: 83.84 kB / 388.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.06483, allocations: 0 / 388.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.06492, allocations: 27.97 kB / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.06494, allocations: 15.98 kB / 388.3 MB, free: 8.637 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.06e-05/0.06503, allocations: 176.5 kB / 388.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.06507, allocations: 11.95 kB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.06565, allocations: 326 kB / 388.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.06566, allocations: 4 kB / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.06566, allocations: 0 / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.06566, allocations: 0 / 388.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.0667, allocations: 0.672 MB / 389.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0667, allocations: 0 / 389.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.06684, allocations: 75.94 kB / 389.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.06685, allocations: 4 kB / 389.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.06687, allocations: 15.98 kB / 389.5 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.06687, allocations: 0 / 389.5 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.06687, allocations: 7.938 kB / 389.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.06731, allocations: 386.9 kB / 389.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.06732, allocations: 7.953 kB / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.06735, allocations: 8 kB / 389.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.06744, allocations: 31.84 kB / 390 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.06746, allocations: 19.97 kB / 390 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.06748, allocations: 15.98 kB / 390 MB, free: 6.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.154e-05/0.06751, allocations: 119.2 kB / 390.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06751, allocations: 0 / 390.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001117/0.06863, allocations: 0.6324 MB / 390.7 MB, free: 6.051 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.002124/0.07075, allocations: 318.5 kB / 391.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.07101, allocations: 171 kB / 391.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.07101, allocations: 0 / 391.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.07111, allocations: 99.61 kB / 391.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.0713, allocations: 31.92 kB / 391.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.07185, allocations: 298.1 kB / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.0719, allocations: 67.84 kB / 391.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.07206, allocations: 81.27 kB / 391.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.07217, allocations: 48.45 kB / 391.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.07217, allocations: 4 kB / 391.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of Templates: time 0.1861/0.2582, allocations: 55.29 MB / 447.1 MB, free: 105.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.6412888751365244]