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.0009696/0.0009696, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002007/0.002007, allocations: 177.6 kB / 24.92 MB, free: 8.652 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 1.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2624/0.2624, allocations: 32.8 MB / 294.6 MB, free: 1.254 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 2.164e-06/2.164e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.239e-05, allocations: 3.75 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001933/0.001965, allocations: 0.5119 MB / 323.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003394/0.002304, allocations: 103.6 kB / 323.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.002329, allocations: 0 / 323.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.002345, allocations: 0 / 323.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.53e-05/0.00237, allocations: 3.938 kB / 323.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002598, allocations: 11.92 kB / 323.8 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.002664, allocations: 15.98 kB / 323.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.002707, allocations: 0.625 kB / 323.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.002759, allocations: 4 kB / 323.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.002814, allocations: 15.97 kB / 323.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.002828, allocations: 0 / 323.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.002916, allocations: 31.97 kB / 323.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.002934, allocations: 3.938 kB / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.002947, allocations: 0 / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.00306, allocations: 35.88 kB / 323.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.003066, allocations: 4 kB / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.003068, allocations: 0 / 323.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.003072, allocations: 0 / 323.9 MB, free: 9.004 MB / 298.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.0003229/0.003395, allocations: 225.3 kB / 324.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.003436, allocations: 8.031 kB / 324.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.003466, allocations: 0.9375 kB / 324.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.003558, allocations: 110.3 kB / 324.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.00357, allocations: 4.312 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.003585, allocations: 8.375 kB / 324.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.003705, allocations: 64.64 kB / 324.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003714, allocations: 4.188 kB / 324.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.003723, allocations: 8.375 kB / 324.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003729, allocations: 384 / 324.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.003756, allocations: 11.92 kB / 324.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.004002, allocations: 232.8 kB / 324.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.004053, allocations: 18.58 kB / 324.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.004077, allocations: 20.8 kB / 324.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.004091, allocations: 0 / 324.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.004117, allocations: 34.56 kB / 324.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.004118, allocations: 0 / 324.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001332/0.004251, allocations: 45.72 kB / 324.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.004288, allocations: 55.34 kB / 324.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.004356, allocations: 106.7 kB / 324.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.004367, allocations: 25.7 kB / 324.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.004408, allocations: 80.14 kB / 325 MB, free: 7.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.004424, allocations: 23.97 kB / 325 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.004456, allocations: 13.72 kB / 325 MB, free: 7.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.004549, allocations: 318.8 kB / 325.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.004566, allocations: 4 kB / 325.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.004589, allocations: 17.72 kB / 325.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.004633, allocations: 29.64 kB / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.004636, allocations: 0 / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.299e-05/0.004709, allocations: 45.62 kB / 325.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.004722, allocations: 4 kB / 325.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.004728, allocations: 8.031 kB / 325.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.004741, allocations: 0 / 325.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.004814, allocations: 11.94 kB / 325.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004818, allocations: 3.984 kB / 325.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.004837, allocations: 0 / 325.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.004844, allocations: 0 / 325.4 MB, free: 7.312 MB / 298.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.786e-05/0.004912, allocations: 113.8 kB / 325.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.004933, allocations: 0 / 325.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005037, allocations: 53.31 kB / 325.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.00504, allocations: 0 / 325.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005043, allocations: 7.938 kB / 325.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005047, allocations: 7.984 kB / 325.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.005175, allocations: 69.84 kB / 325.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005177, allocations: 0 / 325.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.005222, allocations: 8 kB / 325.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.005225, allocations: 192 / 325.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005232, allocations: 8 kB / 325.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.005235, allocations: 3.984 kB / 325.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005237, allocations: 3.938 kB / 325.7 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.005344, allocations: 143.5 kB / 325.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.005356, allocations: 12.61 kB / 325.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005365, allocations: 0 / 325.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.005413, allocations: 7.938 kB / 325.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.005439, allocations: 0 / 325.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.005446, allocations: 4 kB / 325.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.005461, allocations: 12.78 kB / 325.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005461, allocations: 0 / 325.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.005683, allocations: 8 kB / 325.9 MB, free: 6.805 MB / 298.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.000129/0.005812, allocations: 80.36 kB / 326 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.005893, allocations: 33.16 kB / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.005897, allocations: 0 / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.00592, allocations: 16.8 kB / 326 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.006068, allocations: 4 kB / 326 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.006299, allocations: 105.3 kB / 326.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.006338, allocations: 55.36 kB / 326.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.006366, allocations: 8.047 kB / 326.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.006409, allocations: 51.38 kB / 326.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.00641, allocations: 0 / 326.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of Templates: time 0.002802/0.009212, allocations: 0.5304 MB / 326.8 MB, free: 5.875 MB / 298.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.9466373813338578]