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.001763/0.001763, allocations: 75.52 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002176/0.002176, allocations: 171 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.35/1.35, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.2097/0.2097, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 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.313e-06/1.313e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.571e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001534/0.00156, allocations: 0.5141 MB / 407.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.001888, allocations: 99.59 kB / 407.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.001911, allocations: 0 / 407.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.001926, allocations: 0 / 407.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.001954, allocations: 0 / 407.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.002161, allocations: 19.92 kB / 408 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.002223, allocations: 7.984 kB / 408 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.002275, allocations: 12 kB / 408 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.002322, allocations: 0 / 408 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.002369, allocations: 11.92 kB / 408 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.002384, allocations: 0 / 408 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.028e-05/0.002474, allocations: 31.95 kB / 408 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.00249, allocations: 4 kB / 408 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.002509, allocations: 11.92 kB / 408 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.002609, allocations: 23.91 kB / 408.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.002612, allocations: 0 / 408.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002613, allocations: 0 / 408.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.002616, allocations: 0 / 408.1 MB, free: 2.301 MB / 334.1 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.0003664/0.002983, allocations: 254.4 kB / 408.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.003016, allocations: 8.031 kB / 408.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.003049, allocations: 8.891 kB / 408.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.003154, allocations: 117.6 kB / 408.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.003167, allocations: 4.375 kB / 408.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.003176, allocations: 4.375 kB / 408.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.003299, allocations: 51.97 kB / 408.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.003306, allocations: 192 / 408.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.003316, allocations: 4.359 kB / 408.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.00332, allocations: 4.375 kB / 408.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.003372, allocations: 23.86 kB / 408.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.003659, allocations: 264.8 kB / 408.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.003724, allocations: 22.58 kB / 408.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.00376, allocations: 8.859 kB / 408.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.003775, allocations: 4 kB / 408.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.003806, allocations: 38.64 kB / 408.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.003807, allocations: 0 / 408.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.003992, allocations: 57.56 kB / 408.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.004033, allocations: 51.41 kB / 409 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.004116, allocations: 101.9 kB / 409.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.004133, allocations: 25.7 kB / 409.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.004186, allocations: 88.09 kB / 409.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.0042, allocations: 11.91 kB / 409.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.004238, allocations: 17.7 kB / 409.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.004376, allocations: 314.8 kB / 409.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.004399, allocations: 4 kB / 409.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/0.00445, allocations: 27.53 kB / 409.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.778e-05/0.004518, allocations: 29.78 kB / 409.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.004521, allocations: 8.125 kB / 409.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.004622, allocations: 53.69 kB / 409.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.004634, allocations: 7.938 kB / 409.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.00464, allocations: 3.938 kB / 409.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.004655, allocations: 4 kB / 409.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.004717, allocations: 4 kB / 409.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.004725, allocations: 3.984 kB / 409.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.004749, allocations: 7.938 kB / 409.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.004756, allocations: 0 / 409.7 MB, free: 0.5 MB / 334.1 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.897e-05/0.004835, allocations: 117.8 kB / 409.8 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.004861, allocations: 11.92 kB / 409.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.004994, allocations: 61.31 kB / 409.9 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.004996, allocations: 3.938 kB / 409.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.004999, allocations: 0 / 409.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005002, allocations: 0 / 409.9 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.005141, allocations: 109.3 kB / 410 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005142, allocations: 0 / 410 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.005182, allocations: 4 kB / 410 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005184, allocations: 0 / 410 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.005193, allocations: 4 kB / 410 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.005196, allocations: 7.938 kB / 410 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005197, allocations: 0 / 410 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.005355, allocations: 147.5 kB / 410.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.005365, allocations: 7.953 kB / 410.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.005376, allocations: 240 / 410.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.005429, allocations: 4.062 kB / 410.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.005463, allocations: 11.98 kB / 410.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.005469, allocations: 7.922 kB / 410.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.005511, allocations: 79.28 kB / 410.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.005511, allocations: 4 kB / 410.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000235/0.005746, allocations: 4 kB / 410.2 MB, free: 15.86 MB / 350.1 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.0001407/0.005886, allocations: 103.3 kB / 410.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.997e-05/0.005986, allocations: 20 kB / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005988, allocations: 0 / 410.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.006026, allocations: 19.92 kB / 410.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.006236, allocations: 0 / 410.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.006488, allocations: 112.9 kB / 410.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.006545, allocations: 55.36 kB / 410.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.252e-05/0.006577, allocations: 12.05 kB / 410.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.006604, allocations: 8.5 kB / 410.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.006605, allocations: 0 / 410.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Templates: time 0.002859/0.009464, allocations: 470.3 kB / 411 MB, free: 15.03 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 4.65422622486949]