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.001869/0.001869, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002243/0.002243, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2085/0.2085, allocations: 34.27 MB / 295.5 MB, free: 14.57 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.002031/0.002031, allocations: 71.88 kB / 443.1 MB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2781, allocations: 66 MB / 0.4972 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001425/0.2795, allocations: 0.4992 MB / 0.4977 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.2798, allocations: 94.08 kB / 0.4978 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.2798, allocations: 0 / 0.4978 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.2798, allocations: 4 kB / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.335e-05/0.2798, allocations: 0 / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.28, allocations: 16.81 kB / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.28, allocations: 13.42 kB / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.2801, allocations: 0 / 0.4978 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.2801, allocations: 7.125 kB / 0.4978 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.2801, allocations: 10.42 kB / 0.4978 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.2801, allocations: 0 / 0.4978 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.2802, allocations: 26.25 kB / 0.4979 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2802, allocations: 7.172 kB / 0.4979 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.2802, allocations: 15.27 kB / 0.4979 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.036e-05/0.2803, allocations: 28.34 kB / 0.4979 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2803, allocations: 0 / 0.4979 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2803, allocations: 0 / 0.4979 GB, free: 29.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2803, allocations: 0 / 0.4979 GB, free: 29.5 MB / 446.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.000269/0.2806, allocations: 261.3 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.2806, allocations: 9.281 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.2807, allocations: 11.58 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.742e-05/0.2807, allocations: 106.5 kB / 0.4983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2807, allocations: 3.406 kB / 0.4983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.2807, allocations: 4.375 kB / 0.4983 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.2808, allocations: 52.83 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2808, allocations: 192 / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.2808, allocations: 7.938 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2808, allocations: 0 / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.2809, allocations: 16.41 kB / 0.4984 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2811, allocations: 270.8 kB / 0.4986 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.2811, allocations: 24.39 kB / 0.4986 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.2811, allocations: 12.06 kB / 0.4987 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2812, allocations: 10.59 kB / 0.4987 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2812, allocations: 34.56 kB / 0.4987 GB, free: 28.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2812, allocations: 0 / 0.4987 GB, free: 28.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.2813, allocations: 61.3 kB / 0.4988 GB, free: 28.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2813, allocations: 54.62 kB / 0.4988 GB, free: 28.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.2814, allocations: 93.86 kB / 0.4989 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.2814, allocations: 28.92 kB / 0.4989 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.2814, allocations: 83.61 kB / 0.499 GB, free: 28.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.2814, allocations: 15 kB / 0.499 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.2814, allocations: 16.91 kB / 0.499 GB, free: 28.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.2815, allocations: 310.8 kB / 0.4993 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.2815, allocations: 17.84 kB / 0.4994 GB, free: 27.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.2815, allocations: 12.94 kB / 0.4994 GB, free: 27.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.2816, allocations: 38.08 kB / 0.4994 GB, free: 27.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2816, allocations: 0 / 0.4994 GB, free: 27.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.093e-05/0.2816, allocations: 60.94 kB / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.2816, allocations: 6.375 kB / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2816, allocations: 0 / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2817, allocations: 0 / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.2817, allocations: 6.25 kB / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2817, allocations: 3.25 kB / 0.4995 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.2817, allocations: 11.92 kB / 0.4995 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2817, allocations: 10.69 kB / 0.4995 GB, free: 27.88 MB / 446.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 3.529e-05/0.2818, allocations: 106.5 kB / 0.4996 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.2818, allocations: 7.031 kB / 0.4996 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.2819, allocations: 64.02 kB / 0.4997 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2819, allocations: 0 / 0.4997 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2819, allocations: 192 / 0.4997 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2819, allocations: 4 kB / 0.4997 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.282, allocations: 111 kB / 0.4998 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.282, allocations: 0 / 0.4998 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.282, allocations: 10.41 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.282, allocations: 3.938 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.282, allocations: 0 / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.282, allocations: 3.156 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.282, allocations: 3.469 kB / 0.4998 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.2821, allocations: 150.2 kB / 0.4999 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.2821, allocations: 7.891 kB / 0.4999 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2821, allocations: 3.938 kB / 0.4999 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.2822, allocations: 0 / 0.4999 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2822, allocations: 6.578 kB / 0.5 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2822, allocations: 0 / 0.5 GB, free: 27.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.541e-05/0.2822, allocations: 86.62 kB / 0.5 GB, free: 27.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2822, allocations: 0 / 0.5 GB, free: 27.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.2824, allocations: 6.375 kB / 0.5 GB, free: 27.32 MB / 446.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 6.703e-05/0.2825, allocations: 99.16 kB / 0.5001 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.2826, allocations: 20.25 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2826, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.336e-05/0.2826, allocations: 17.44 kB / 0.5002 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.2828, allocations: 3.156 kB / 0.5002 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.283, allocations: 121.4 kB / 0.5003 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.966e-05/0.283, allocations: 57.73 kB / 0.5003 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.283, allocations: 6.594 kB / 0.5004 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.2831, allocations: 15.66 kB / 0.5004 GB, free: 27.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2831, allocations: 0 / 0.5004 GB, free: 27.02 MB / 446.1 MB Notification: Performance of Templates: time 0.7365/1.02, allocations: 461.4 kB / 0.5008 GB, free: 26.93 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/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: 6.829100335016847]