Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008396/0.008396, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.002226/0.002226, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.459/1.459, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.94 MB / 362.3 MB, free: 4.191 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2996, allocations: 66.07 MB / 0.5627 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001702/0.3013, allocations: 0.5143 MB / 0.5632 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.3016, allocations: 95.7 kB / 0.5633 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.3016, allocations: 4 kB / 0.5633 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.3016, allocations: 0 / 0.5633 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.3016, allocations: 0 / 0.5633 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3018, allocations: 15.92 kB / 0.5633 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.3019, allocations: 15.98 kB / 0.5633 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.3019, allocations: 0 / 0.5633 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.3019, allocations: 7.938 kB / 0.5634 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.302, allocations: 11.97 kB / 0.5634 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.302, allocations: 7.938 kB / 0.5634 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.3021, allocations: 23.97 kB / 0.5634 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3021, allocations: 12 kB / 0.5634 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3022, allocations: 7.922 kB / 0.5634 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.108e-05/0.3022, allocations: 23.58 kB / 0.5634 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3022, allocations: 0 / 0.5634 GB, free: 3.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3022, allocations: 0 / 0.5634 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3023, allocations: 0 / 0.5634 GB, free: 3.504 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.0003933/0.3026, allocations: 257 kB / 0.5637 GB, free: 3.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3027, allocations: 8.031 kB / 0.5637 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3027, allocations: 8.922 kB / 0.5637 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3028, allocations: 110.5 kB / 0.5638 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3028, allocations: 384 / 0.5638 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3029, allocations: 8.375 kB / 0.5638 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.303, allocations: 51.97 kB / 0.5639 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.303, allocations: 192 / 0.5639 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.303, allocations: 3.938 kB / 0.5639 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.303, allocations: 0 / 0.5639 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.3031, allocations: 15.94 kB / 0.5639 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3034, allocations: 300.2 kB / 0.5642 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.3035, allocations: 22.52 kB / 0.5642 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3035, allocations: 12.86 kB / 0.5642 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.3035, allocations: 3.984 kB / 0.5642 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3035, allocations: 42.62 kB / 0.5642 GB, free: 2.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3035, allocations: 4 kB / 0.5642 GB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001886/0.3037, allocations: 61.58 kB / 0.5643 GB, free: 2.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3038, allocations: 51.41 kB / 0.5644 GB, free: 2.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.3038, allocations: 93.86 kB / 0.5644 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3039, allocations: 29.64 kB / 0.5645 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.3039, allocations: 80.14 kB / 0.5645 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3039, allocations: 15.84 kB / 0.5646 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.304, allocations: 21.83 kB / 0.5646 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3041, allocations: 318.8 kB / 0.5649 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.3041, allocations: 4 kB / 0.5649 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.3042, allocations: 21.7 kB / 0.5649 GB, free: 1.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.3042, allocations: 33.66 kB / 0.5649 GB, free: 1.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3042, allocations: 0 / 0.5649 GB, free: 1.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.532e-05/0.3043, allocations: 57.56 kB / 0.565 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3043, allocations: 10.22 kB / 0.565 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3043, allocations: 0 / 0.565 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3043, allocations: 4 kB / 0.565 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.3044, allocations: 4 kB / 0.565 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.3044, allocations: 12.05 kB / 0.565 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.3044, allocations: 7.953 kB / 0.565 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3044, allocations: 0 / 0.565 GB, free: 1.66 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.681e-05/0.3045, allocations: 117.8 kB / 0.5651 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3046, allocations: 0 / 0.5651 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3047, allocations: 69.31 kB / 0.5652 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3047, allocations: 0 / 0.5652 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3047, allocations: 0 / 0.5652 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3047, allocations: 0 / 0.5652 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3049, allocations: 132.7 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3049, allocations: 0 / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3049, allocations: 7.984 kB / 0.5653 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3049, allocations: 4 kB / 0.5654 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.3049, allocations: 0 / 0.5654 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3049, allocations: 0 / 0.5654 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3049, allocations: 0 / 0.5654 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3051, allocations: 159.4 kB / 0.5655 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-06/0.3051, allocations: 7.953 kB / 0.5655 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3051, allocations: 0 / 0.5655 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.3051, allocations: 0 / 0.5655 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.3051, allocations: 0 / 0.5655 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3051, allocations: 11.92 kB / 0.5655 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.774e-05/0.3052, allocations: 79.28 kB / 0.5656 GB, free: 1 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3052, allocations: 0 / 0.5656 GB, free: 1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.3054, allocations: 12 kB / 0.5656 GB, free: 0.9883 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.0001174/0.3055, allocations: 99.19 kB / 0.5657 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3056, allocations: 19.98 kB / 0.5657 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3056, allocations: 3.938 kB / 0.5657 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.3057, allocations: 12.12 kB / 0.5657 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3059, allocations: 7.938 kB / 0.5657 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.3061, allocations: 135 kB / 0.5659 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3065, allocations: 0.6807 MB / 0.5665 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.3065, allocations: 7.438 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3065, allocations: 0 / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Templates: time 0.002065/0.3085, allocations: 0.5712 MB / 0.5671 GB, free: 15.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.274843623163179]