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.001432/0.001432, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001562/0.001562, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.327/1.327, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.2095/0.2095, allocations: 46.92 MB / 361.5 MB, free: 4.18 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 0.002209/0.002209, allocations: 79.86 kB / 0.4974 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.28, allocations: 66.07 MB / 0.5619 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001576/0.2816, allocations: 0.5109 MB / 0.5624 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.2819, allocations: 99.72 kB / 0.5625 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.2819, allocations: 0 / 0.5625 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2819, allocations: 4 kB / 0.5625 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.655e-05/0.2819, allocations: 0 / 0.5625 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.2821, allocations: 15.92 kB / 0.5625 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.2821, allocations: 7.984 kB / 0.5626 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.2822, allocations: 7.984 kB / 0.5626 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.2822, allocations: 11.92 kB / 0.5626 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.2822, allocations: 4 kB / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.2823, allocations: 0 / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.2823, allocations: 35.97 kB / 0.5626 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.2823, allocations: 3.938 kB / 0.5626 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.2824, allocations: 15.92 kB / 0.5626 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.2825, allocations: 22.58 kB / 0.5627 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2825, allocations: 4 kB / 0.5627 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.2825, allocations: 3.984 kB / 0.5627 GB, free: 3.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2825, allocations: 0 / 0.5627 GB, free: 3.523 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.0003643/0.2828, allocations: 254 kB / 0.5629 GB, free: 3.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.2829, allocations: 12.03 kB / 0.5629 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.2829, allocations: 8.875 kB / 0.5629 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/0.283, allocations: 106.5 kB / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.283, allocations: 384 / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.283, allocations: 384 / 0.563 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2831, allocations: 51.97 kB / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2831, allocations: 192 / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2831, allocations: 3.938 kB / 0.5631 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2832, allocations: 4 kB / 0.5631 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.2832, allocations: 15.94 kB / 0.5631 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.2835, allocations: 296.2 kB / 0.5634 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.2836, allocations: 30.5 kB / 0.5634 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.2836, allocations: 12.86 kB / 0.5634 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2836, allocations: 96 / 0.5634 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2836, allocations: 42.48 kB / 0.5635 GB, free: 2.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.2836, allocations: 0 / 0.5635 GB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.2838, allocations: 57.64 kB / 0.5635 GB, free: 2.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2838, allocations: 55.41 kB / 0.5636 GB, free: 2.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.2839, allocations: 93.86 kB / 0.5637 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2839, allocations: 25.7 kB / 0.5637 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.284, allocations: 84.14 kB / 0.5638 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.284, allocations: 15.95 kB / 0.5638 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.284, allocations: 25.66 kB / 0.5638 GB, free: 2.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2842, allocations: 310.8 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.2842, allocations: 8 kB / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.2842, allocations: 29.64 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.2843, allocations: 25.72 kB / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2843, allocations: 0 / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.252e-05/0.2844, allocations: 69.56 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2844, allocations: 6.188 kB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2844, allocations: 0 / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2844, allocations: 0 / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.2845, allocations: 11.98 kB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2845, allocations: 0 / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.2845, allocations: 7.953 kB / 0.5643 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2845, allocations: 3.938 kB / 0.5643 GB, free: 1.688 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 7.854e-05/0.2846, allocations: 109.8 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2846, allocations: 8.031 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2847, allocations: 61.31 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2847, allocations: 4 kB / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2847, allocations: 0 / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2847, allocations: 0 / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.2849, allocations: 128.7 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2849, allocations: 0 / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.2849, allocations: 11.98 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2849, allocations: 0 / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2849, allocations: 4 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2849, allocations: 8 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2849, allocations: 0 / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.2851, allocations: 151.7 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.2851, allocations: 7.953 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.2851, allocations: 4 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.2852, allocations: 0 / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.2852, allocations: 7.984 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2852, allocations: 0 / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.2852, allocations: 83.28 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2852, allocations: 0 / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.2854, allocations: 7.938 kB / 0.5648 GB, free: 1.02 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.0001167/0.2855, allocations: 99.19 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2857, allocations: 31.92 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2857, allocations: 0 / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.2857, allocations: 8 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2859, allocations: 12.09 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.2861, allocations: 130.7 kB / 0.5651 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2864, allocations: 0.6768 MB / 0.5658 GB, free: 16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.2865, allocations: 11.77 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2865, allocations: 0 / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Templates: time 0.001921/0.2884, allocations: 0.5747 MB / 0.5663 GB, free: 15.41 MB / 414.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/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_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: 6.4589776180218905]