Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.000844/0.000844, allocations: 88.28 kB / 21.43 MB, free: 3.129 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.003641/0.003641, allocations: 154 kB / 24.7 MB, free: 9.414 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.8498/0.8498, allocations: 177 MB / 204.9 MB, free: 5.738 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.2479/0.2479, allocations: 34.25 MB / 295.6 MB, free: 0.6992 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 443.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.11e-05, allocations: 6.219 kB / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0009259/0.000947, allocations: 0.5322 MB / 443.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005023/0.001449, allocations: 374.9 kB / 444.3 MB, free: 192 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.001472, allocations: 0 / 444.3 MB, free: 192 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.001488, allocations: 3.938 kB / 444.3 MB, free: 188 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.001516, allocations: 7.875 kB / 444.3 MB, free: 180 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.001873, allocations: 127.6 kB / 444.4 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.001919, allocations: 23.92 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.001958, allocations: 7.969 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.001989, allocations: 19.94 kB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1795/0.1815, allocations: 13.52 kB / 444.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1816, allocations: 2.75 kB / 444.5 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1818, allocations: 132.3 kB / 444.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1818, allocations: 8.578 kB / 444.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.1818, allocations: 10.33 kB / 444.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.182, allocations: 144.8 kB / 444.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.182, allocations: 3.438 kB / 444.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.182, allocations: 3.844 kB / 444.8 MB, free: 43.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.182, allocations: 0 / 444.8 MB, free: 43.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003172/0.1823, allocations: 297.1 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1824, allocations: 9.031 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1824, allocations: 8.359 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/0.1825, allocations: 105.3 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1825, allocations: 2.594 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.1825, allocations: 9.203 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1826, allocations: 56.22 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1826, allocations: 2.562 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1826, allocations: 3.75 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1827, allocations: 7 kB / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/0.1827, allocations: 26.33 kB / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.1828, allocations: 119.3 kB / 445.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.183, allocations: 55.27 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.183, allocations: 22.91 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.1832, allocations: 31.33 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.1832, allocations: 37.27 kB / 445.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1832, allocations: 2.375 kB / 445.6 MB, free: 43.12 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.0587/0.2419, allocations: 6.377 MB / 452 MB, free: 42.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.2419, allocations: 58.28 kB / 452 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.242, allocations: 105.1 kB / 452.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.242, allocations: 25.7 kB / 452.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.242, allocations: 90.98 kB / 452.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.2421, allocations: 63.73 kB / 452.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.2422, allocations: 84.52 kB / 452.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.077e-05/0.2422, allocations: 321.1 kB / 452.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.2425, allocations: 225.7 kB / 452.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.2428, allocations: 234.1 kB / 453.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2439, allocations: 0.5584 MB / 453.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2439, allocations: 0.875 kB / 453.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009593/0.2448, allocations: 0.6127 MB / 454.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2448, allocations: 5.312 kB / 454.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2448, allocations: 0 / 454.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2449, allocations: 0 / 454.3 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2451, allocations: 112.5 kB / 454.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2451, allocations: 3.281 kB / 454.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.2453, allocations: 28.14 kB / 454.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.2454, allocations: 29.41 kB / 454.5 MB, free: 41.32 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 (19): * Single equations (assignments): 19 * 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.497e-05/0.2455, allocations: 119 kB / 454.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2455, allocations: 14.91 kB / 454.6 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.2466, allocations: 0.7317 MB / 455.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2466, allocations: 6.875 kB / 455.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2466, allocations: 0 / 455.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.2466, allocations: 2.25 kB / 455.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.2486, allocations: 1.051 MB / 456.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2486, allocations: 0 / 456.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.2488, allocations: 99.33 kB / 456.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2488, allocations: 5.75 kB / 456.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.2488, allocations: 26.38 kB / 456.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2488, allocations: 10.39 kB / 456.5 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2488, allocations: 3.281 kB / 456.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.2497, allocations: 0.5788 MB / 457.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.2497, allocations: 7.266 kB / 457.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.2497, allocations: 7 kB / 457.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2499, allocations: 29.2 kB / 457.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2499, allocations: 19.75 kB / 457.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.2499, allocations: 32.5 kB / 457.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.399e-05/0.2499, allocations: 82.53 kB / 457.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2499, allocations: 3.188 kB / 457.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001052/0.251, allocations: 0.6441 MB / 458 MB, free: 40.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002066/0.253, allocations: 324.2 kB / 458.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.2537, allocations: 440.4 kB / 458.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2537, allocations: 0 / 458.7 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.2539, allocations: 193.9 kB / 458.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2541, allocations: 16.42 kB / 458.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2552, allocations: 0.5567 MB / 459.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.2553, allocations: 92.58 kB / 459.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.2555, allocations: 90.12 kB / 459.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2555, allocations: 0 / 459.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01639/0.2719, allocations: 16 MB / 475.6 MB, free: 37.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 7.099787766113877]