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.0007631/0.0007631, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007432/0.0007432, allocations: 173.9 kB / 23.96 MB, free: 0.5938 MB / 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.7676/0.7676, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1205/0.1205, allocations: 32.38 MB / 270.4 MB, free: 14.96 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 2.435e-06/2.435e-06, allocations: 4 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.346e-05, allocations: 9.875 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009507/0.0009742, allocations: 0.5028 MB / 408.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002224/0.001197, allocations: 103.6 kB / 408.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.001217, allocations: 0 / 408.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.001229, allocations: 0 / 408.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.673e-05/0.001246, allocations: 0 / 408.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.001411, allocations: 15.92 kB / 408.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.001457, allocations: 8 kB / 408.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.001502, allocations: 11.97 kB / 408.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.001537, allocations: 8 kB / 408.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.001576, allocations: 7.922 kB / 408.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.001592, allocations: 4 kB / 408.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.001651, allocations: 27.97 kB / 408.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.001663, allocations: 4 kB / 408.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.001676, allocations: 0 / 408.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.859e-05/0.001754, allocations: 31.88 kB / 408.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001756, allocations: 4 kB / 408.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.001757, allocations: 0 / 408.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.534e-06/0.001759, allocations: 4 kB / 408.8 MB, free: 12.31 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.0002768/0.002036, allocations: 250.3 kB / 409.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.002068, allocations: 12.03 kB / 409.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.002096, allocations: 8.891 kB / 409.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.002168, allocations: 109.7 kB / 409.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.002178, allocations: 4.375 kB / 409.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.002186, allocations: 8.312 kB / 409.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.002276, allocations: 53.8 kB / 409.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.002282, allocations: 192 / 409.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.00229, allocations: 384 / 409.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.002294, allocations: 8.375 kB / 409.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.002329, allocations: 19.86 kB / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.002564, allocations: 264.8 kB / 409.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.002607, allocations: 26.58 kB / 409.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.002634, allocations: 8.859 kB / 409.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.002648, allocations: 0 / 409.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.002668, allocations: 34.56 kB / 409.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.81e-07/0.002669, allocations: 0 / 409.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001462/0.002815, allocations: 61.66 kB / 409.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.002841, allocations: 51.41 kB / 409.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.002895, allocations: 105.8 kB / 409.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.002904, allocations: 25.7 kB / 409.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.002939, allocations: 84.09 kB / 409.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.002946, allocations: 7.906 kB / 409.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.002968, allocations: 17.72 kB / 410 MB, free: 11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.003047, allocations: 318.8 kB / 410.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.003063, allocations: 8 kB / 410.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.003081, allocations: 17.72 kB / 410.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.00312, allocations: 33.64 kB / 410.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.003122, allocations: 4.125 kB / 410.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.212e-05/0.003184, allocations: 57.62 kB / 410.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.003197, allocations: 10.34 kB / 410.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.003202, allocations: 3.938 kB / 410.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.003211, allocations: 0 / 410.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-05/0.003264, allocations: 8 kB / 410.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.003269, allocations: 0 / 410.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.003283, allocations: 7.875 kB / 410.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.003289, allocations: 4 kB / 410.4 MB, free: 10.52 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 4.812e-05/0.003337, allocations: 109.8 kB / 410.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.003354, allocations: 11.98 kB / 410.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.003445, allocations: 65.67 kB / 410.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.003448, allocations: 4 kB / 410.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.003453, allocations: 4 kB / 410.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.003457, allocations: 3.984 kB / 410.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.003541, allocations: 109.3 kB / 410.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.003542, allocations: 0 / 410.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.003564, allocations: 8 kB / 410.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003565, allocations: 0 / 410.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.003571, allocations: 3.938 kB / 410.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.003573, allocations: 7.938 kB / 410.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.003573, allocations: 0 / 410.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.667e-05/0.00365, allocations: 151.5 kB / 410.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.003655, allocations: 3.953 kB / 410.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.003664, allocations: 4 kB / 410.9 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.003689, allocations: 7.875 kB / 410.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.003716, allocations: 3.984 kB / 410.9 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.003718, allocations: 0 / 410.9 MB, free: 9.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.003742, allocations: 79.28 kB / 411 MB, free: 9.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003742, allocations: 0 / 411 MB, free: 9.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000145/0.003887, allocations: 8.094 kB / 411 MB, free: 9.875 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.0001061/0.003993, allocations: 99.25 kB / 411.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.004071, allocations: 23.98 kB / 411.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.004073, allocations: 0 / 411.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.004092, allocations: 15.94 kB / 411.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.004235, allocations: 4 kB / 411.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.004432, allocations: 134.6 kB / 411.3 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.004472, allocations: 63.34 kB / 411.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.004491, allocations: 8.5 kB / 411.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.004492, allocations: 12 kB / 411.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of Templates: time 0.001507/0.005998, allocations: 0.5898 MB / 411.9 MB, free: 8.871 MB / 346.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=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: 3.856810225173831]