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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 253.1 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] 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.2193/0.2193, allocations: 44.9 MB / 353.2 MB, free: 11.88 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001978/0.001978, allocations: 63.89 kB / 497.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2754, allocations: 64.29 MB / 0.5484 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001583/0.277, allocations: 0.5099 MB / 0.5489 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.2773, allocations: 100.3 kB / 0.549 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.2773, allocations: 1.344 kB / 0.549 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.2773, allocations: 3.938 kB / 0.549 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.2773, allocations: 0 / 0.549 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2775, allocations: 21.08 kB / 0.549 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.2776, allocations: 9.578 kB / 0.549 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.2776, allocations: 5.547 kB / 0.5491 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.2777, allocations: 6.781 kB / 0.5491 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.2777, allocations: 10.72 kB / 0.5491 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.2777, allocations: 0 / 0.5491 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.2778, allocations: 35.64 kB / 0.5491 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.2778, allocations: 1.594 kB / 0.5491 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2778, allocations: 9.094 kB / 0.5491 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.2779, allocations: 31.31 kB / 0.5491 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2779, allocations: 0 / 0.5491 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2779, allocations: 0 / 0.5491 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2779, allocations: 1.125 kB / 0.5491 GB, free: 12.57 MB / 398.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.0003999/0.2783, allocations: 256.1 kB / 0.5494 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2784, allocations: 10.67 kB / 0.5494 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2784, allocations: 10.17 kB / 0.5494 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2785, allocations: 104.2 kB / 0.5495 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2786, allocations: 1.781 kB / 0.5495 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2786, allocations: 1.594 kB / 0.5495 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2787, allocations: 55.12 kB / 0.5496 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2787, allocations: 1.938 kB / 0.5496 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2787, allocations: 11.94 kB / 0.5496 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2787, allocations: 0 / 0.5496 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.2788, allocations: 10.73 kB / 0.5496 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.2791, allocations: 295.6 kB / 0.5499 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.2792, allocations: 27.28 kB / 0.5499 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.2792, allocations: 14.81 kB / 0.5499 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2792, allocations: 4 kB / 0.5499 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2793, allocations: 32.41 kB / 0.5499 GB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2793, allocations: 0 / 0.5499 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.2795, allocations: 58.19 kB / 0.55 GB, free: 11.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2795, allocations: 51.41 kB / 0.55 GB, free: 11.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.2796, allocations: 96.8 kB / 0.5501 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2796, allocations: 30.91 kB / 0.5502 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.2797, allocations: 88.22 kB / 0.5503 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2797, allocations: 14.53 kB / 0.5503 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.2797, allocations: 18.22 kB / 0.5503 GB, free: 11.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2799, allocations: 310.8 kB / 0.5506 GB, free: 11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.2799, allocations: 12.45 kB / 0.5506 GB, free: 10.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2799, allocations: 18.28 kB / 0.5506 GB, free: 10.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.28, allocations: 32.16 kB / 0.5506 GB, free: 10.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.28, allocations: 5.422 kB / 0.5506 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.314e-05/0.2801, allocations: 61.58 kB / 0.5507 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2801, allocations: 9.516 kB / 0.5507 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.2801, allocations: 0 / 0.5507 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2801, allocations: 5.125 kB / 0.5507 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.2802, allocations: 10.88 kB / 0.5507 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2802, allocations: 0.875 kB / 0.5507 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.2802, allocations: 1.094 kB / 0.5507 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2802, allocations: 2.031 kB / 0.5507 GB, free: 10.88 MB / 398.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 8.789e-05/0.2803, allocations: 119.9 kB / 0.5508 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2803, allocations: 1.188 kB / 0.5508 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.2805, allocations: 64.23 kB / 0.5509 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2805, allocations: 1.406 kB / 0.5509 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2805, allocations: 4 kB / 0.5509 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2805, allocations: 0 / 0.5509 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2807, allocations: 135.5 kB / 0.551 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2807, allocations: 0 / 0.551 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.2807, allocations: 10.09 kB / 0.5511 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2807, allocations: 5.719 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2807, allocations: 4 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2807, allocations: 0 / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2807, allocations: 1.562 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2809, allocations: 148.1 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.2809, allocations: 1.344 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.2809, allocations: 1.781 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.2809, allocations: 8 kB / 0.5512 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.281, allocations: 5.328 kB / 0.5512 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.281, allocations: 1.625 kB / 0.5512 GB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.281, allocations: 76.41 kB / 0.5513 GB, free: 10.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.281, allocations: 1.688 kB / 0.5513 GB, free: 10.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.2812, allocations: 4.906 kB / 0.5513 GB, free: 10.28 MB / 398.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.0001331/0.2814, allocations: 113.9 kB / 0.5514 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.2815, allocations: 19.38 kB / 0.5514 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2815, allocations: 4.062 kB / 0.5514 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.2815, allocations: 15.86 kB / 0.5514 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2817, allocations: 16.53 kB / 0.5515 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.282, allocations: 98 kB / 0.5516 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.2823, allocations: 0.6777 MB / 0.5522 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.2823, allocations: 10.52 kB / 0.5522 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.2823, allocations: 9.688 kB / 0.5522 GB, free: 9.32 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.2823, allocations: 0 / 0.5522 GB, free: 9.32 MB / 398.1 MB Notification: Performance of Templates: time 0.002861/0.2852, allocations: 0.4884 MB / 0.5527 GB, free: 9.066 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.65500446036458]