Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001414/0.001414, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002536/0.002536, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2913, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001639/0.293, allocations: 0.5059 MB / 0.5616 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.2933, allocations: 87.8 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2933, allocations: 0 / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2933, allocations: 3.938 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.713e-05/0.2933, allocations: 0 / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.2935, allocations: 19.91 kB / 0.5617 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.2936, allocations: 19.94 kB / 0.5617 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.2936, allocations: 3.984 kB / 0.5617 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.2937, allocations: 4 kB / 0.5617 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.2937, allocations: 3.938 kB / 0.5617 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2937, allocations: 4 kB / 0.5617 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.2938, allocations: 31.95 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2938, allocations: 4 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.2938, allocations: 0 / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.294, allocations: 31.55 kB / 0.5618 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.294, allocations: 0 / 0.5618 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.294, allocations: 4 kB / 0.5618 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.294, allocations: 0 / 0.5618 GB, free: 3.477 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.0003945/0.2944, allocations: 257 kB / 0.562 GB, free: 3.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2944, allocations: 8.031 kB / 0.562 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.2944, allocations: 4.938 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2945, allocations: 102.5 kB / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2945, allocations: 8.375 kB / 0.5621 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2946, allocations: 384 / 0.5621 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2947, allocations: 55.91 kB / 0.5622 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2947, allocations: 192 / 0.5622 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2947, allocations: 7.938 kB / 0.5622 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2947, allocations: 0 / 0.5622 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.2948, allocations: 15.98 kB / 0.5622 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.2951, allocations: 272.8 kB / 0.5625 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/0.2951, allocations: 26.56 kB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.2952, allocations: 20.8 kB / 0.5625 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2952, allocations: 3.938 kB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2952, allocations: 34.64 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2952, allocations: 0 / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.2954, allocations: 61.58 kB / 0.5626 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2955, allocations: 63.34 kB / 0.5627 GB, free: 2.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2955, allocations: 89.86 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2956, allocations: 29.7 kB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.2956, allocations: 80.14 kB / 0.5629 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2956, allocations: 15.84 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.2957, allocations: 17.7 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2958, allocations: 318.8 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.2959, allocations: 4 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.2959, allocations: 21.7 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.296, allocations: 33.78 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.296, allocations: 0 / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.87e-05/0.2961, allocations: 57.62 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2961, allocations: 4 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2961, allocations: 4 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2961, allocations: 0 / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.2962, allocations: 11.92 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2962, allocations: 4 kB / 0.5633 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.2962, allocations: 3.953 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2962, allocations: 0 / 0.5633 GB, free: 1.68 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.955e-05/0.2963, allocations: 117.9 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2963, allocations: 4.062 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.2964, allocations: 65.38 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2964, allocations: 0 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2964, allocations: 0 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2965, allocations: 4 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2966, allocations: 109.3 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2966, allocations: 0 / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.2966, allocations: 11.94 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2966, allocations: 3.938 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2966, allocations: 4 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2966, allocations: 3.938 kB / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2967, allocations: 0 / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.2968, allocations: 147.5 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.2968, allocations: 7.891 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2968, allocations: 0 / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.2969, allocations: 7.984 kB / 0.5638 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.2969, allocations: 4 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2969, allocations: 0 / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.2969, allocations: 79.28 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2969, allocations: 0 / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.2972, allocations: 8.094 kB / 0.5639 GB, free: 1.043 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.0001229/0.2973, allocations: 111.1 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.2974, allocations: 23.94 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2974, allocations: 0 / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.2974, allocations: 19.92 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2977, allocations: 2.812 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.2979, allocations: 113 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.045e-05/0.298, allocations: 55.69 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.298, allocations: 12.3 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.298, allocations: 7.438 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.298, allocations: 4 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Templates: time 0.002871/0.3009, allocations: 460.6 kB / 0.5647 GB, free: 208 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.145357316359878]