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.0009711/0.0009711, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001504/0.001504, allocations: 169 kB / 24.14 MB, free: 356 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.8255/0.8255, allocations: 158.6 MB / 186 MB, free: 2.758 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.1305/0.1305, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.152e-06/1.152e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.297e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001009/0.001022, allocations: 0.5563 MB / 299.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.00124, allocations: 99.8 kB / 299.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.001258, allocations: 0 / 299.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.00127, allocations: 3.938 kB / 299.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.00129, allocations: 0 / 299.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.001457, allocations: 15.98 kB / 299.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.001508, allocations: 15.98 kB / 299.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.001544, allocations: 0 / 299.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.001595, allocations: 7.938 kB / 299.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.001639, allocations: 11.92 kB / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.001651, allocations: 0 / 299.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.001734, allocations: 35.95 kB / 299.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.001746, allocations: 0 / 299.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.288e-05/0.001759, allocations: 7.984 kB / 299.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.743e-05/0.001836, allocations: 27.89 kB / 299.9 MB, free: 1.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.001838, allocations: 7.938 kB / 299.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001839, allocations: 0 / 299.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.001842, allocations: 0 / 299.9 MB, free: 1.387 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.0002207/0.002062, allocations: 228.6 kB / 300.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.002094, allocations: 8.031 kB / 300.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.117e-05/0.002115, allocations: 4.938 kB / 300.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.002182, allocations: 106.1 kB / 300.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002191, allocations: 4.375 kB / 300.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.002197, allocations: 384 / 300.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.00228, allocations: 72.61 kB / 300.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.002287, allocations: 4.172 kB / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.002293, allocations: 384 / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.002297, allocations: 384 / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.002314, allocations: 11.94 kB / 300.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.002503, allocations: 232.4 kB / 300.5 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.121e-05/0.002534, allocations: 22.52 kB / 300.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.002555, allocations: 12.86 kB / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.002565, allocations: 0 / 300.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.002586, allocations: 34.56 kB / 300.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.002586, allocations: 4 kB / 300.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 8.959e-05/0.002676, allocations: 41.83 kB / 300.7 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.002704, allocations: 67.27 kB / 300.7 MB, free: 436 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.00275, allocations: 98.7 kB / 300.8 MB, free: 324 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.002758, allocations: 29.7 kB / 300.8 MB, free: 288 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.002791, allocations: 80.14 kB / 300.9 MB, free: 204 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.0028, allocations: 15.84 kB / 300.9 MB, free: 188 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.002822, allocations: 13.72 kB / 301 MB, free: 168 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1199/0.1227, allocations: 322.8 kB / 301.3 MB, free: 19.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.1227, allocations: 2.062 kB / 301.3 MB, free: 19.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.1227, allocations: 17.56 kB / 301.3 MB, free: 19.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.1228, allocations: 26.77 kB / 301.3 MB, free: 19.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1228, allocations: 1.312 kB / 301.3 MB, free: 19.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.122e-05/0.1229, allocations: 49.69 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1229, allocations: 6.031 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1229, allocations: 2.875 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1229, allocations: 1.094 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.123, allocations: 15.38 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.123, allocations: 2.391 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.123, allocations: 1.719 kB / 301.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.123, allocations: 4.531 kB / 301.4 MB, free: 19.64 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 3.747e-05/0.123, allocations: 107.9 kB / 301.5 MB, free: 19.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1231, allocations: 2.984 kB / 301.5 MB, free: 19.53 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.1231, allocations: 57.08 kB / 301.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1231, allocations: 4.75 kB / 301.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.1231, allocations: 0.5938 kB / 301.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1231, allocations: 1.156 kB / 301.6 MB, free: 19.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.1232, allocations: 71.83 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1232, allocations: 0.625 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.1233, allocations: 8.547 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1233, allocations: 0.7812 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.1233, allocations: 2.25 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1233, allocations: 1.656 kB / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1233, allocations: 0 / 301.6 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.1233, allocations: 152.5 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.1234, allocations: 6.078 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1234, allocations: 5.266 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.1234, allocations: 0.6875 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.1234, allocations: 3.703 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1234, allocations: 5.688 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.128e-05/0.1234, allocations: 8.438 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1234, allocations: 0 / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000181/0.1236, allocations: 11.23 kB / 301.8 MB, free: 19.27 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 8.35e-05/0.1237, allocations: 80.95 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.1238, allocations: 27.02 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1238, allocations: 4.25 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.1238, allocations: 17.94 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1239, allocations: 2.375 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001571/0.1241, allocations: 112.1 kB / 302.1 MB, free: 19.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.626e-05/0.1241, allocations: 60 kB / 302.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.1241, allocations: 3.062 kB / 302.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1242, allocations: 51.81 kB / 302.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1242, allocations: 0 / 302.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of Templates: time 0.002167/0.1263, allocations: 0.5433 MB / 302.7 MB, free: 18.94 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 -s gbode -gbm=radauIIA3 -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.6643855893053114]