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.001441/0.001441, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001082/0.001082, allocations: 164.7 kB / 24.82 MB, free: 9.273 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 0.9914/0.9914, allocations: 177 MB / 205.1 MB, free: 5.469 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.2548/0.2548, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 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 1.313e-06/1.313e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.706e-05, allocations: 3.156 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001692/0.001719, allocations: 0.529 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.00247, allocations: 382.8 kB / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.002509, allocations: 0 / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.002527, allocations: 0 / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.74e-05/0.002554, allocations: 7.875 kB / 380.1 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.003086, allocations: 147.5 kB / 380.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.672e-05/0.003142, allocations: 23.92 kB / 380.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.00318, allocations: 4 kB / 380.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.003224, allocations: 19.97 kB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.00328, allocations: 15.92 kB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003294, allocations: 3.984 kB / 380.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.003536, allocations: 135.8 kB / 380.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.003553, allocations: 7.984 kB / 380.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.003573, allocations: 15.92 kB / 380.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.0038, allocations: 151.5 kB / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003803, allocations: 0 / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003804, allocations: 4 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.003808, allocations: 0 / 380.6 MB, free: 388 kB / 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.000367/0.004175, allocations: 396.2 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.004216, allocations: 8.031 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.004253, allocations: 12.92 kB / 381.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.004328, allocations: 108.6 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.004344, allocations: 8.375 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.00437, allocations: 12.33 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.004465, allocations: 54.23 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004475, allocations: 4.188 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.004483, allocations: 8.359 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.00449, allocations: 4.125 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.004549, allocations: 35.95 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.004692, allocations: 121.1 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.004799, allocations: 82.95 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.004833, allocations: 27.67 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.005018, allocations: 31.91 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.005043, allocations: 37.39 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.005044, allocations: 4 kB / 381.6 MB, free: 15.32 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.07127/0.07631, allocations: 5.369 MB / 386.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.07633, allocations: 55.41 kB / 387 MB, free: 9.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.07639, allocations: 153.9 kB / 387.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.0764, allocations: 29.7 kB / 387.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.07643, allocations: 135.4 kB / 387.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.07648, allocations: 75.33 kB / 387.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.07655, allocations: 67.31 kB / 387.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.07667, allocations: 0.4884 MB / 387.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.07673, allocations: 47.97 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.07679, allocations: 47.95 kB / 388 MB, free: 8.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.07722, allocations: 197.8 kB / 388.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.07722, allocations: 0 / 388.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003605/0.07758, allocations: 244.5 kB / 388.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.07759, allocations: 4 kB / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.0776, allocations: 0 / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.07761, allocations: 4 kB / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.07778, allocations: 87.84 kB / 388.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.07778, allocations: 0 / 388.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.07786, allocations: 27.97 kB / 388.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.07787, allocations: 11.98 kB / 388.6 MB, free: 8.191 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 6.943e-05/0.07794, allocations: 164.6 kB / 388.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.07797, allocations: 23.89 kB / 388.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.07843, allocations: 305.9 kB / 389.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.07844, allocations: 0 / 389.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.07844, allocations: 0 / 389.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.07844, allocations: 4 kB / 389.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.07926, allocations: 0.6335 MB / 389.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.07927, allocations: 0 / 389.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.07939, allocations: 83.86 kB / 389.8 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.0794, allocations: 8.062 kB / 389.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.07941, allocations: 11.98 kB / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.07941, allocations: 0 / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.07941, allocations: 0 / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.07978, allocations: 370.9 kB / 390.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.07979, allocations: 7.953 kB / 390.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.07981, allocations: 11.98 kB / 390.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.07989, allocations: 27.97 kB / 390.2 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.07991, allocations: 19.86 kB / 390.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.07992, allocations: 19.98 kB / 390.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.07995, allocations: 119.2 kB / 390.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07995, allocations: 0 / 390.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001012/0.08096, allocations: 0.6245 MB / 391 MB, free: 5.691 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.001943/0.0829, allocations: 322.6 kB / 391.3 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.08308, allocations: 147 kB / 391.5 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.08308, allocations: 0 / 391.5 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.08318, allocations: 95.66 kB / 391.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.08334, allocations: 27.92 kB / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.08369, allocations: 286.2 kB / 391.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.08373, allocations: 67.84 kB / 391.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.08387, allocations: 77.2 kB / 392 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.08399, allocations: 110.2 kB / 392.1 MB, free: 4.5 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.08399, allocations: 4 kB / 392.1 MB, free: 4.496 MB / 362.7 MB Notification: Performance of Templates: time 0.1663/0.2503, allocations: 59.68 MB / 451.8 MB, free: 104.2 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: 7.466416147071868]