Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00147/0.00147, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001201/0.001201, allocations: 173 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8794/0.8794, allocations: 158.6 MB / 186 MB, free: 2.453 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1262/0.1262, allocations: 32.37 MB / 270.7 MB, free: 14.58 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 299 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.155e-05, allocations: 2.312 kB / 299 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001196/0.001218, allocations: 0.5208 MB / 299.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.001443, allocations: 103.8 kB / 299.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.001462, allocations: 0 / 299.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.001478, allocations: 0 / 299.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.001505, allocations: 0 / 299.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.001711, allocations: 11.92 kB / 299.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.001766, allocations: 19.98 kB / 299.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.001802, allocations: 0 / 299.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.001848, allocations: 11.92 kB / 299.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.001894, allocations: 7.984 kB / 299.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.001906, allocations: 0 / 299.7 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.001973, allocations: 31.97 kB / 299.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.001988, allocations: 3.984 kB / 299.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.218e-05/0.002, allocations: 4 kB / 299.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.002106, allocations: 31.83 kB / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.002108, allocations: 0 / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.002109, allocations: 0 / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.002117, allocations: 4 kB / 299.8 MB, free: 1.461 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.0002854/0.002402, allocations: 228.6 kB / 300 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.002437, allocations: 8.031 kB / 300 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.002461, allocations: 4.938 kB / 300 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.002539, allocations: 110.1 kB / 300.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.00255, allocations: 4.375 kB / 300.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.00256, allocations: 4.375 kB / 300.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.002653, allocations: 64.66 kB / 300.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00266, allocations: 192 / 300.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.002666, allocations: 384 / 300.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.002671, allocations: 4.375 kB / 300.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.002691, allocations: 15.88 kB / 300.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.002915, allocations: 228.4 kB / 300.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.002949, allocations: 18.58 kB / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.002968, allocations: 12.86 kB / 300.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.002982, allocations: 4 kB / 300.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.003003, allocations: 38.62 kB / 300.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.003004, allocations: 0 / 300.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001024/0.003106, allocations: 41.69 kB / 300.6 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.003143, allocations: 63.34 kB / 300.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.0032, allocations: 98.7 kB / 300.7 MB, free: 404 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.00321, allocations: 25.7 kB / 300.7 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.00325, allocations: 84.14 kB / 300.8 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.00326, allocations: 15.84 kB / 300.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.003284, allocations: 17.7 kB / 300.9 MB, free: 244 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1437/0.1469, allocations: 315.8 kB / 301.2 MB, free: 19.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.147, allocations: 3.344 kB / 301.2 MB, free: 19.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.1471, allocations: 19.75 kB / 301.2 MB, free: 19.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.1471, allocations: 30.66 kB / 301.2 MB, free: 19.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1471, allocations: 0.5312 kB / 301.2 MB, free: 19.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001101/0.1472, allocations: 49.06 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.1473, allocations: 7.109 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1473, allocations: 1.609 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1473, allocations: 1.875 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.1474, allocations: 13.78 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1474, allocations: 1.312 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.1474, allocations: 3.062 kB / 301.3 MB, free: 19.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1474, allocations: 2.109 kB / 301.3 MB, free: 19.71 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 7.554e-05/0.1475, allocations: 113.6 kB / 301.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1475, allocations: 1.938 kB / 301.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1476, allocations: 53.91 kB / 301.5 MB, free: 19.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1476, allocations: 5.062 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1476, allocations: 1.516 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1476, allocations: 0 / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.1477, allocations: 69.27 kB / 301.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1477, allocations: 0.7031 kB / 301.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.1478, allocations: 10.88 kB / 301.6 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1478, allocations: 2.719 kB / 301.6 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1478, allocations: 2.484 kB / 301.6 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1478, allocations: 1.969 kB / 301.6 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1478, allocations: 0.875 kB / 301.6 MB, free: 19.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.012e-05/0.1478, allocations: 147.2 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1479, allocations: 5.547 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.1479, allocations: 1.812 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.1479, allocations: 3.375 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.1479, allocations: 5.656 kB / 301.7 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1479, allocations: 5.844 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.388e-05/0.1479, allocations: 8.375 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1479, allocations: 2.406 kB / 301.7 MB, free: 19.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000123/0.1481, allocations: 8 kB / 301.7 MB, free: 19.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 0.0001276/0.1482, allocations: 87.11 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.86e-05/0.1483, allocations: 27.3 kB / 301.9 MB, free: 19.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1483, allocations: 1.75 kB / 301.9 MB, free: 19.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.1483, allocations: 13.95 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.1484, allocations: 5.188 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.1486, allocations: 106.4 kB / 302 MB, free: 19.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.71e-05/0.1486, allocations: 59.72 kB / 302 MB, free: 19.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.1486, allocations: 10.2 kB / 302 MB, free: 19.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1486, allocations: 51.89 kB / 302.1 MB, free: 19.03 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1486, allocations: 3.828 kB / 302.1 MB, free: 19.03 MB / 282.7 MB Notification: Performance of Templates: time 0.002202/0.1509, allocations: 0.5381 MB / 302.6 MB, free: 19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.917847746051848]