Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009924/0.0009924, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002357, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009642/0.0009642, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002187, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9224/0.9224, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08077/1.003, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02037/0.2405, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.345e-06/9.547e-06, allocations: 3.188 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0008708/0.0008803, allocations: 0.5504 MB / 293.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.0009918, allocations: 103.7 kB / 293.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.001005, allocations: 0 / 293.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.456e-06/0.001008, allocations: 0 / 293.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.001013, allocations: 3.938 kB / 293.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.392e-05/0.001077, allocations: 19.91 kB / 293.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.001116, allocations: 4 kB / 293.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.001151, allocations: 4.5 kB / 293.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.001199, allocations: 11.98 kB / 293.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.001239, allocations: 11.92 kB / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.001251, allocations: 0 / 293.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.001332, allocations: 35.91 kB / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.00134, allocations: 0 / 293.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.001351, allocations: 4 kB / 293.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.533e-05/0.001426, allocations: 23.91 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.001438, allocations: 4 kB / 293.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001438, allocations: 0 / 293.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.001449, allocations: 0 / 293.4 MB, free: 5.539 MB / 282.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.0002366/0.001685, allocations: 228.6 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.001711, allocations: 8.031 kB / 293.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.001732, allocations: 8.922 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.221e-05/0.001795, allocations: 106.5 kB / 293.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.001803, allocations: 4.375 kB / 293.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.00181, allocations: 4.375 kB / 293.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.00189, allocations: 68.59 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.001895, allocations: 192 / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.001902, allocations: 4.375 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.001906, allocations: 4.359 kB / 293.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.576e-05/0.001922, allocations: 11.94 kB / 293.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.002092, allocations: 236.9 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.029e-05/0.002122, allocations: 22.58 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.002142, allocations: 16.86 kB / 294.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.002152, allocations: 144 / 294.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.002168, allocations: 34.55 kB / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.002169, allocations: 0 / 294.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 8.766e-05/0.002257, allocations: 45.62 kB / 294.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.002283, allocations: 59.34 kB / 294.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.456e-05/0.002327, allocations: 98.7 kB / 294.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.002335, allocations: 29.7 kB / 294.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.002366, allocations: 80.27 kB / 294.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.002377, allocations: 19.84 kB / 294.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.002397, allocations: 17.7 kB / 294.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.002462, allocations: 318.8 kB / 294.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.002469, allocations: 4 kB / 294.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.002482, allocations: 17.72 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.002509, allocations: 25.64 kB / 294.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002511, allocations: 0 / 294.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.173e-05/0.002552, allocations: 49.62 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.002562, allocations: 8.031 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.002566, allocations: 4.109 kB / 294.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.002575, allocations: 4 kB / 294.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.002614, allocations: 15.88 kB / 294.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.002617, allocations: 4 kB / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.002628, allocations: 0 / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.002632, allocations: 0 / 294.9 MB, free: 3.832 MB / 282.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 4.372e-05/0.002676, allocations: 113.8 kB / 295 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.002686, allocations: 0 / 295 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.002746, allocations: 53.36 kB / 295.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.002748, allocations: 4 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.002751, allocations: 3.938 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.002753, allocations: 3.938 kB / 295.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.002826, allocations: 73.84 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.002827, allocations: 0 / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.002846, allocations: 11.98 kB / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-06/0.00285, allocations: 0 / 295.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.002852, allocations: 4 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.002857, allocations: 4 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.002858, allocations: 0 / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.002859, allocations: 3.938 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.617e-05/0.002915, allocations: 139.5 kB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-06/0.002922, allocations: 0 / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.002946, allocations: 4 kB / 295.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.002966, allocations: 8.219 kB / 295.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.002968, allocations: 128 / 295.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.264e-06/0.002975, allocations: 12.73 kB / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002975, allocations: 0 / 295.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.003091, allocations: 11.94 kB / 295.4 MB, free: 3.34 MB / 282.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 7.923e-05/0.00317, allocations: 80.41 kB / 295.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.465e-05/0.003225, allocations: 36.92 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.003229, allocations: 0 / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.003245, allocations: 20.8 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.428e-05/0.003339, allocations: 7.594 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.003491, allocations: 117.1 kB / 295.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.003519, allocations: 55.36 kB / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.747e-05/0.003536, allocations: 8.062 kB / 295.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.003567, allocations: 59.38 kB / 295.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003567, allocations: 0 / 295.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Templates: time 0.001646/0.005213, allocations: 0.5032 MB / 296.2 MB, free: 2.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.596262495033443]