Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002084/0.002084, allocations: 90 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00228/0.00228, allocations: 157.1 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.001e-05, allocations: 4.531 kB / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001663/0.001693, allocations: 0.5012 MB / 443.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.001989, allocations: 83.73 kB / 443.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.002014, allocations: 0 / 443.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.002033, allocations: 7.938 kB / 443.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.824e-05/0.002051, allocations: 0 / 443.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.002244, allocations: 23.89 kB / 443.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.002297, allocations: 7.938 kB / 443.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.00235, allocations: 7.984 kB / 443.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.002401, allocations: 8 kB / 443.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.002441, allocations: 3.984 kB / 443.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002455, allocations: 4 kB / 443.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.002538, allocations: 31.95 kB / 443.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.002551, allocations: 0 / 443.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.002571, allocations: 11.94 kB / 443.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.002674, allocations: 31.83 kB / 443.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.002677, allocations: 0 / 443.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002678, allocations: 3.938 kB / 443.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.002688, allocations: 0 / 443.4 MB, free: 4.578 MB / 366.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.0003953/0.003084, allocations: 250.4 kB / 443.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.003119, allocations: 8.031 kB / 443.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.003155, allocations: 12.89 kB / 443.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003275, allocations: 101.8 kB / 443.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.003283, allocations: 384 / 443.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.003303, allocations: 8.375 kB / 443.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003433, allocations: 51.97 kB / 443.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.003442, allocations: 192 / 443.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.00345, allocations: 384 / 443.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003454, allocations: 384 / 443.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.00351, allocations: 23.86 kB / 443.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.00383, allocations: 268.7 kB / 444.1 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.003895, allocations: 30.61 kB / 444.1 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.003941, allocations: 16.8 kB / 444.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.003955, allocations: 0 / 444.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.003987, allocations: 30.56 kB / 444.2 MB, free: 3.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.003988, allocations: 0 / 444.2 MB, free: 3.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001962/0.004184, allocations: 61.7 kB / 444.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.004228, allocations: 55.41 kB / 444.3 MB, free: 3.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.00432, allocations: 97.84 kB / 444.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.004337, allocations: 25.7 kB / 444.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.004388, allocations: 88.22 kB / 444.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.004401, allocations: 11.91 kB / 444.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.004439, allocations: 17.72 kB / 444.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.004603, allocations: 322.7 kB / 444.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.004627, allocations: 8 kB / 444.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.00466, allocations: 21.72 kB / 444.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.00472, allocations: 29.83 kB / 444.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.004724, allocations: 4 kB / 444.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001086/0.004833, allocations: 57.62 kB / 444.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004847, allocations: 4 kB / 444.9 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.004853, allocations: 7.969 kB / 444.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.00487, allocations: 4 kB / 445 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.004945, allocations: 4 kB / 445 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.004953, allocations: 4 kB / 445 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.004978, allocations: 0 / 445 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.004984, allocations: 0 / 445 MB, free: 2.789 MB / 366.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 9.153e-05/0.005076, allocations: 109.8 kB / 445.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.005104, allocations: 7.938 kB / 445.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.005246, allocations: 69.25 kB / 445.1 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005248, allocations: 3.938 kB / 445.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005252, allocations: 4 kB / 445.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005254, allocations: 0 / 445.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.005407, allocations: 109.3 kB / 445.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.005408, allocations: 0 / 445.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.005452, allocations: 7.984 kB / 445.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.005456, allocations: 4 kB / 445.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.005462, allocations: 0 / 445.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.005466, allocations: 3.938 kB / 445.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.005469, allocations: 3.984 kB / 445.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.005631, allocations: 155.5 kB / 445.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.005636, allocations: 0 / 445.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.005647, allocations: 4 kB / 445.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.005699, allocations: 4.062 kB / 445.4 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.005731, allocations: 11.98 kB / 445.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005735, allocations: 0 / 445.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.005778, allocations: 79.28 kB / 445.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.005778, allocations: 0 / 445.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.006015, allocations: 8 kB / 445.5 MB, free: 2.148 MB / 366.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.0001363/0.006151, allocations: 99.19 kB / 445.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.006255, allocations: 24.02 kB / 445.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.006261, allocations: 8.062 kB / 445.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.006293, allocations: 12 kB / 445.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.006502, allocations: 0 / 445.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.006759, allocations: 116.7 kB / 445.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.285e-05/0.006832, allocations: 59.34 kB / 445.8 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.061e-05/0.006862, allocations: 4 kB / 445.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.006887, allocations: 12.5 kB / 445.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.006887, allocations: 0 / 445.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of Templates: time 0.003006/0.009893, allocations: 476.2 kB / 446.3 MB, free: 1.297 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.005324501544237]