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.0026/0.0026, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003288/0.003288, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.583/1.583, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3915/0.3915, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.042e-05, allocations: 4.141 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001753/0.001783, allocations: 0.5399 MB / 377.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.002588, allocations: 374.8 kB / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.002617, allocations: 0 / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.00263, allocations: 0 / 378.1 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.002662, allocations: 7.938 kB / 378.1 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.003173, allocations: 147.4 kB / 378.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.003239, allocations: 27.97 kB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.003283, allocations: 0 / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.003332, allocations: 23.92 kB / 378.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.003392, allocations: 11.97 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003411, allocations: 4 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.003686, allocations: 135.8 kB / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.003705, allocations: 15.94 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.003732, allocations: 11.97 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.004006, allocations: 151.5 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.00401, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004011, allocations: 0 / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004016, allocations: 0 / 378.6 MB, free: 1.473 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.0005219/0.004538, allocations: 395.9 kB / 379 MB, free: 1.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004577, allocations: 8.031 kB / 379 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.004631, allocations: 12.92 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004758, allocations: 112.6 kB / 379.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004772, allocations: 384 / 379.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.004805, allocations: 20.33 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.004959, allocations: 58.23 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.004974, allocations: 192 / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004985, allocations: 384 / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.004995, allocations: 8.125 kB / 379.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.005108, allocations: 47.95 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.005342, allocations: 132.5 kB / 379.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.005525, allocations: 94.91 kB / 379.5 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.005589, allocations: 35.67 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.005844, allocations: 27.97 kB / 379.6 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.005885, allocations: 37.39 kB / 379.6 MB, free: 384 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.005886, allocations: 0 / 379.6 MB, free: 384 kB / 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.1443/0.1502, allocations: 5.688 MB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1503, allocations: 55.41 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1504, allocations: 149.9 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1504, allocations: 29.7 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.1505, allocations: 131.2 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1506, allocations: 79.33 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1508, allocations: 67.33 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.151, allocations: 0.4885 MB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.1515, allocations: 127.9 kB / 386.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.1519, allocations: 131.8 kB / 386.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1534, allocations: 335.3 kB / 386.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1534, allocations: 3.938 kB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001346/0.1547, allocations: 385.8 kB / 387.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1547, allocations: 4 kB / 387.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1547, allocations: 0 / 387.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.1548, allocations: 4 kB / 387.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.1552, allocations: 79.92 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1552, allocations: 7.984 kB / 387.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.1554, allocations: 23.97 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.1554, allocations: 19.97 kB / 387.4 MB, free: 8.484 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.0001602/0.1556, allocations: 168.5 kB / 387.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.1557, allocations: 19.95 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.1572, allocations: 457.9 kB / 388 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1572, allocations: 0 / 388 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1572, allocations: 0 / 388 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1573, allocations: 3.984 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.16, allocations: 0.789 MB / 388.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.16, allocations: 4 kB / 388.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.1604, allocations: 75.92 kB / 388.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1604, allocations: 4 kB / 388.9 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1604, allocations: 11.98 kB / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1604, allocations: 3.938 kB / 388.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1604, allocations: 3.938 kB / 388.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1618, allocations: 491 kB / 389.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.1618, allocations: 11.94 kB / 389.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1618, allocations: 4 kB / 389.4 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.162, allocations: 35.91 kB / 389.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1621, allocations: 15.97 kB / 389.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.1621, allocations: 23.92 kB / 389.5 MB, free: 6.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.1622, allocations: 119.2 kB / 389.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1622, allocations: 3.938 kB / 389.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001902/0.1641, allocations: 0.6284 MB / 390.2 MB, free: 5.543 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.003118/0.1672, allocations: 314.6 kB / 390.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009717/0.1682, allocations: 287.5 kB / 390.8 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1682, allocations: 0 / 390.8 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.1686, allocations: 165.2 kB / 391 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1689, allocations: 23.98 kB / 391 MB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.17, allocations: 362.1 kB / 391.3 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.672e-05/0.1701, allocations: 75.84 kB / 391.4 MB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.1704, allocations: 81.14 kB / 391.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1705, allocations: 52.45 kB / 391.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1705, allocations: 0 / 391.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of Templates: time 0.2174/0.388, allocations: 55.29 MB / 446.8 MB, free: 103.9 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.790027555078268]