Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 163.5 kB / 24.99 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9203/0.9203, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.951e-05, allocations: 9.906 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001243/0.001262, allocations: 0.5205 MB / 376.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.004626, allocations: 95.72 kB / 376.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.004652, allocations: 0 / 376.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.004668, allocations: 0 / 376.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.211e-05/0.00469, allocations: 3.938 kB / 376.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.004892, allocations: 7.984 kB / 376.6 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.004957, allocations: 19.92 kB / 376.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.004995, allocations: 0 / 376.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.005035, allocations: 7.984 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.005081, allocations: 11.98 kB / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.005095, allocations: 4 kB / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.005169, allocations: 31.91 kB / 376.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.005182, allocations: 0 / 376.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.005201, allocations: 7.922 kB / 376.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.005294, allocations: 31.95 kB / 376.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005296, allocations: 0 / 376.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005297, allocations: 0 / 376.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.005305, allocations: 0 / 376.7 MB, free: 4.254 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003159/0.005621, allocations: 356.3 kB / 377.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.005657, allocations: 8.031 kB / 377.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.005692, allocations: 17.17 kB / 377.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.005771, allocations: 104.6 kB / 377.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005781, allocations: 384 / 377.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.00579, allocations: 4.375 kB / 377.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005905, allocations: 70.33 kB / 377.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005912, allocations: 192 / 377.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.005922, allocations: 4.359 kB / 377.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005928, allocations: 384 / 377.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.005957, allocations: 19.88 kB / 377.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.006215, allocations: 366.8 kB / 377.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.242e-05/0.006258, allocations: 35.06 kB / 377.7 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.006291, allocations: 15.77 kB / 377.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006304, allocations: 4 kB / 377.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.006326, allocations: 37.33 kB / 377.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.006326, allocations: 3.938 kB / 377.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.006475, allocations: 57.61 kB / 377.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.006503, allocations: 51.41 kB / 377.8 MB, free: 2.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.006575, allocations: 157.9 kB / 378 MB, free: 2.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.006584, allocations: 29.83 kB / 378 MB, free: 2.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.006628, allocations: 130.8 kB / 378.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.006644, allocations: 23.83 kB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.006673, allocations: 19.38 kB / 378.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.006786, allocations: 496.1 kB / 378.7 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.006803, allocations: 4 kB / 378.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.006829, allocations: 31.3 kB / 378.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.006868, allocations: 27.38 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00687, allocations: 0 / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.355e-05/0.006943, allocations: 61.62 kB / 378.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.006955, allocations: 8 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.006962, allocations: 3.938 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006973, allocations: 0 / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.00703, allocations: 11.98 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.007035, allocations: 0 / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.007051, allocations: 0 / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.007059, allocations: 4 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.006e-05/0.007119, allocations: 152.6 kB / 379 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.007141, allocations: 12.08 kB / 379 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.01028, allocations: 69.28 kB / 379.1 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01028, allocations: 4 kB / 379.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01029, allocations: 0 / 379.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01029, allocations: 3.984 kB / 379.1 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.0104, allocations: 112.6 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01041, allocations: 0 / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.01045, allocations: 8 kB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01045, allocations: 0 / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.01045, allocations: 0 / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01046, allocations: 3.938 kB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01046, allocations: 0 / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.01057, allocations: 207.9 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.01057, allocations: 11.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.01058, allocations: 0 / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.01062, allocations: 3.938 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.01065, allocations: 0 / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.01066, allocations: 4 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.01069, allocations: 123.2 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01069, allocations: 0 / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.01091, allocations: 7.938 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001006/0.01101, allocations: 107.3 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.01109, allocations: 35.61 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01109, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.01111, allocations: 19.69 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01131, allocations: 4 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.01152, allocations: 122.4 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.01155, allocations: 55.34 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.33e-05/0.01158, allocations: 12.06 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.0116, allocations: 8.5 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0116, allocations: 0 / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of Templates: time 0.002044/0.01364, allocations: 491.1 kB / 380.4 MB, free: 224 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.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: 2.857627190183848]