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.0008531/0.0008531, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004094/0.004094, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8459/0.8459, allocations: 177 MB / 204.9 MB, free: 5.727 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.2492/0.2492, allocations: 34.24 MB / 295.6 MB, free: 0.6797 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 1.192e-06/1.192e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.721e-05, allocations: 2.281 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009441/0.0009613, allocations: 0.5349 MB / 443.9 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.001506, allocations: 370.9 kB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.001531, allocations: 0 / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.001547, allocations: 3.938 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.109e-05/0.001568, allocations: 7.938 kB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.001936, allocations: 143.5 kB / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1639/0.1659, allocations: 24.75 kB / 444.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.1659, allocations: 1.562 kB / 444.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1659, allocations: 22.59 kB / 444.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.166, allocations: 17.19 kB / 444.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.166, allocations: 2.812 kB / 444.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1662, allocations: 128.9 kB / 444.6 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1662, allocations: 16.72 kB / 444.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1663, allocations: 12.19 kB / 444.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1664, allocations: 147.7 kB / 444.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1664, allocations: 3.828 kB / 444.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1664, allocations: 1.594 kB / 444.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1664, allocations: 0 / 444.8 MB, free: 43.72 MB / 410.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.000272/0.1667, allocations: 294.4 kB / 445.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1667, allocations: 11.31 kB / 445.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1668, allocations: 5.188 kB / 445.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.622e-05/0.1668, allocations: 113.4 kB / 445.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1668, allocations: 4.594 kB / 445.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1669, allocations: 9.531 kB / 445.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.375e-05/0.167, allocations: 63.84 kB / 445.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.167, allocations: 6.531 kB / 445.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.167, allocations: 1.75 kB / 445.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.167, allocations: 4.125 kB / 445.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.193e-05/0.167, allocations: 48.94 kB / 445.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.723e-05/0.1671, allocations: 117.6 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.1672, allocations: 83.31 kB / 445.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.1673, allocations: 31.17 kB / 445.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.1674, allocations: 24.97 kB / 445.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.1675, allocations: 33.34 kB / 445.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1675, allocations: 1.969 kB / 445.7 MB, free: 43.09 MB / 410.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.05446/0.2219, allocations: 5.619 MB / 451.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2219, allocations: 58.22 kB / 451.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.222, allocations: 93.19 kB / 451.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.222, allocations: 32.52 kB / 451.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-06/0.222, allocations: 81.77 kB / 451.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.2221, allocations: 75.89 kB / 451.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.2221, allocations: 59.72 kB / 451.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.2222, allocations: 321.7 kB / 452 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2223, allocations: 121.9 kB / 452.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.2225, allocations: 107.5 kB / 452.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.2232, allocations: 329.1 kB / 452.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2232, allocations: 6.625 kB / 452.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005645/0.2237, allocations: 357.5 kB / 452.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2237, allocations: 12.05 kB / 452.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2238, allocations: 0 / 452.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2238, allocations: 0 / 452.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.224, allocations: 77.42 kB / 453 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.224, allocations: 10 kB / 453 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.224, allocations: 23.92 kB / 453 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2241, allocations: 16.83 kB / 453 MB, free: 41.8 MB / 410.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.292e-05/0.2241, allocations: 123.8 kB / 453.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2242, allocations: 9.828 kB / 453.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006977/0.2249, allocations: 431.5 kB / 453.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2249, allocations: 2.844 kB / 453.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2249, allocations: 0 / 453.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2249, allocations: 0 / 453.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2259, allocations: 0.7043 MB / 454.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2259, allocations: 0 / 454.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2261, allocations: 79.77 kB / 454.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2261, allocations: 0 / 454.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2261, allocations: 16.14 kB / 454.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2261, allocations: 0 / 454.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2261, allocations: 6.688 kB / 454.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.2266, allocations: 423.8 kB / 454.8 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.2266, allocations: 13.14 kB / 454.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2266, allocations: 0 / 454.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.2267, allocations: 35.12 kB / 454.8 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.2267, allocations: 19.08 kB / 454.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2268, allocations: 11.38 kB / 454.9 MB, free: 41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.08e-05/0.2268, allocations: 81.97 kB / 455 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2268, allocations: 0 / 455 MB, free: 40.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009811/0.2278, allocations: 0.6325 MB / 455.6 MB, free: 40.88 MB / 410.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.001991/0.2297, allocations: 321.4 kB / 455.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.2302, allocations: 250.1 kB / 456.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2302, allocations: 0 / 456.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.2303, allocations: 128 kB / 456.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.2305, allocations: 15.44 kB / 456.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.231, allocations: 352.9 kB / 456.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.2311, allocations: 89.86 kB / 456.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.2312, allocations: 43.95 kB / 456.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2312, allocations: 0 / 456.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01492/0.2461, allocations: 14.2 MB / 471 MB, free: 39.49 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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: 6.847739406861365]