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.001805/0.001805, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002472/0.002472, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.1 MB, free: 7.797 MB / 206.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.2374/0.2374, allocations: 46.95 MB / 361.6 MB, free: 3.953 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.002628/0.002628, allocations: 83.8 kB / 0.4974 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3168, allocations: 66.08 MB / 0.5619 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001699/0.3185, allocations: 0.4937 MB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.3188, allocations: 99.67 kB / 0.5625 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.3189, allocations: 0 / 0.5625 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3189, allocations: 4 kB / 0.5625 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.3189, allocations: 0 / 0.5625 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3191, allocations: 15.91 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.3192, allocations: 12 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.3192, allocations: 0 / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.3192, allocations: 11.98 kB / 0.5625 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.3193, allocations: 3.938 kB / 0.5625 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3193, allocations: 4 kB / 0.5625 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.3194, allocations: 23.97 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3194, allocations: 7.984 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3194, allocations: 15.92 kB / 0.5626 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.3195, allocations: 22.64 kB / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3195, allocations: 0 / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3195, allocations: 0 / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3195, allocations: 0 / 0.5626 GB, free: 3.297 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.0004157/0.3199, allocations: 262 kB / 0.5628 GB, free: 3.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.32, allocations: 8.031 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.32, allocations: 4.938 kB / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3201, allocations: 102.5 kB / 0.563 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3201, allocations: 4.375 kB / 0.563 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3201, allocations: 8.312 kB / 0.563 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3203, allocations: 51.97 kB / 0.563 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3203, allocations: 192 / 0.563 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3203, allocations: 7.938 kB / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3203, allocations: 0 / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.3203, allocations: 11.98 kB / 0.563 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3207, allocations: 276.7 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.3208, allocations: 22.61 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3209, allocations: 20.8 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3209, allocations: 7.938 kB / 0.5633 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3209, allocations: 30.56 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3209, allocations: 0 / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.3211, allocations: 61.67 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3212, allocations: 55.41 kB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.3212, allocations: 93.84 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3213, allocations: 33.7 kB / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.3213, allocations: 80.14 kB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.3213, allocations: 11.84 kB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3214, allocations: 17.72 kB / 0.5637 GB, free: 1.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3215, allocations: 319 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.3216, allocations: 12 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.3216, allocations: 13.72 kB / 0.564 GB, free: 1.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.3216, allocations: 37.64 kB / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3217, allocations: 0 / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.623e-05/0.3217, allocations: 53.62 kB / 0.5641 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3218, allocations: 4 kB / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3218, allocations: 4 kB / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3218, allocations: 0 / 0.5641 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.3219, allocations: 11.94 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3219, allocations: 11.97 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.3219, allocations: 3.953 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3219, allocations: 0 / 0.5642 GB, free: 1.496 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.913e-05/0.322, allocations: 113.8 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.322, allocations: 3.938 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.3221, allocations: 61.61 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3221, allocations: 7.922 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3221, allocations: 0 / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3222, allocations: 4 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3223, allocations: 105.3 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3223, allocations: 4 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.3223, allocations: 11.98 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3223, allocations: 3.938 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3223, allocations: 0 / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3224, allocations: 192 / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3224, allocations: 4 kB / 0.5645 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3225, allocations: 151.5 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.3225, allocations: 7.891 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3225, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.3226, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3226, allocations: 7.984 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3226, allocations: 11.88 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.3227, allocations: 83.28 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3227, allocations: 0 / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3229, allocations: 4 kB / 0.5647 GB, free: 0.8516 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.0001555/0.323, allocations: 99.19 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.3232, allocations: 19.98 kB / 0.5648 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3232, allocations: 4 kB / 0.5648 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.3232, allocations: 15.94 kB / 0.5649 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3234, allocations: 4.156 kB / 0.5649 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3237, allocations: 138.7 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.474e-05/0.3238, allocations: 59.34 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3238, allocations: 15.38 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3238, allocations: 0 / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of Templates: time 0.002474/0.3263, allocations: 0.5788 MB / 0.5656 GB, free: 15.86 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: 7.442616504151374]