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.001432/0.001432, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.00155/0.00155, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9751/0.9751, allocations: 177.1 MB / 205 MB, free: 5.625 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.2847/0.2847, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.155e-06/2.155e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.008e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001878/0.001908, allocations: 0.5126 MB / 376.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000301/0.002209, allocations: 95.72 kB / 376.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.002241, allocations: 4 kB / 376.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.002265, allocations: 0 / 376.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.002289, allocations: 0 / 376.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.002521, allocations: 19.89 kB / 376.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.002586, allocations: 15.94 kB / 376.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.002629, allocations: 0 / 376.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.00268, allocations: 7.984 kB / 376.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.002733, allocations: 8 kB / 376.7 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.002752, allocations: 0 / 376.7 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.002852, allocations: 31.95 kB / 376.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.00287, allocations: 7.984 kB / 376.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.00289, allocations: 0 / 376.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.003011, allocations: 31.84 kB / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003013, allocations: 0 / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003015, allocations: 0 / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.00302, allocations: 0 / 376.7 MB, free: 3.945 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.0004122/0.003432, allocations: 356.3 kB / 377.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.003481, allocations: 8.031 kB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.00353, allocations: 13.23 kB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.00364, allocations: 112.6 kB / 377.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.003653, allocations: 4.375 kB / 377.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.00367, allocations: 4.375 kB / 377.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.003824, allocations: 74.27 kB / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.003835, allocations: 192 / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.003846, allocations: 384 / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.003856, allocations: 384 / 377.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.003894, allocations: 15.94 kB / 377.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.004246, allocations: 374.6 kB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.738e-05/0.004303, allocations: 31.09 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.004341, allocations: 19.67 kB / 377.7 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.004361, allocations: 4 kB / 377.7 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.004388, allocations: 37.39 kB / 377.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.00439, allocations: 0 / 377.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000192/0.004582, allocations: 57.66 kB / 377.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.004614, allocations: 51.41 kB / 377.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.004709, allocations: 161.9 kB / 378 MB, free: 2.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.004723, allocations: 25.7 kB / 378 MB, free: 2.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.004777, allocations: 130.8 kB / 378.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.004794, allocations: 19.78 kB / 378.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.00483, allocations: 27.5 kB / 378.2 MB, free: 2.246 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.004974, allocations: 496.1 kB / 378.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.004998, allocations: 8 kB / 378.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.005028, allocations: 23.38 kB / 378.7 MB, free: 1.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.005082, allocations: 35.3 kB / 378.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005084, allocations: 0 / 378.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.668e-05/0.005181, allocations: 49.69 kB / 378.8 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.005197, allocations: 8 kB / 378.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.005205, allocations: 3.938 kB / 378.8 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.005223, allocations: 4.031 kB / 378.8 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.0053, allocations: 11.94 kB / 378.8 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.005307, allocations: 0 / 378.8 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.005329, allocations: 4 kB / 378.8 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.005337, allocations: 4 kB / 378.9 MB, free: 1.578 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 8.06e-05/0.005418, allocations: 152.6 kB / 379 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.005444, allocations: 7.953 kB / 379 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.00558, allocations: 65.3 kB / 379.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005583, allocations: 4 kB / 379.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005587, allocations: 192 / 379.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.005592, allocations: 8 kB / 379.1 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.005717, allocations: 108.6 kB / 379.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.005718, allocations: 0 / 379.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.005764, allocations: 19.92 kB / 379.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.005767, allocations: 0 / 379.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.005775, allocations: 0 / 379.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.005778, allocations: 3.938 kB / 379.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005779, allocations: 0 / 379.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.00593, allocations: 199.9 kB / 379.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.005937, allocations: 0 / 379.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.00595, allocations: 4 kB / 379.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.006001, allocations: 7.938 kB / 379.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.006036, allocations: 3.984 kB / 379.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006042, allocations: 4 kB / 379.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.006085, allocations: 119.2 kB / 379.5 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006085, allocations: 3.938 kB / 379.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.006349, allocations: 11.94 kB / 379.6 MB, free: 0.7969 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.0001426/0.006491, allocations: 99.19 kB / 379.7 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.006603, allocations: 31.67 kB / 379.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006604, allocations: 4.156 kB / 379.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.006635, allocations: 19.62 kB / 379.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.006871, allocations: 8 kB / 379.7 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.007145, allocations: 122.2 kB / 379.8 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.007187, allocations: 55.36 kB / 379.9 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.007212, allocations: 4 kB / 379.9 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.00724, allocations: 12.5 kB / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007241, allocations: 0 / 379.9 MB, free: 392 kB / 346.7 MB Notification: Performance of Templates: time 0.002913/0.01015, allocations: 491.2 kB / 380.4 MB, free: 15.9 MB / 362.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: 3.151545906905085]