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.001371/0.001371, allocations: 78.88 kB / 21.24 MB, free: 0.543 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.001478/0.001478, allocations: 160.3 kB / 24.49 MB, free: 3.719 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.424/1.424, allocations: 177.1 MB / 204.7 MB, free: 8.977 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.2119/0.2119, allocations: 34.25 MB / 295.4 MB, free: 14.5 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.002597/0.002597, allocations: 83.88 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2848, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001624/0.2864, allocations: 0.5139 MB / 0.4977 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.2867, allocations: 94.81 kB / 0.4978 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.2867, allocations: 0 / 0.4978 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.2867, allocations: 2.969 kB / 0.4978 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.2868, allocations: 0 / 0.4978 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.2869, allocations: 14.38 kB / 0.4979 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.287, allocations: 13.53 kB / 0.4979 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.287, allocations: 3.188 kB / 0.4979 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.2871, allocations: 15.45 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.2871, allocations: 3.375 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2871, allocations: 0 / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.2872, allocations: 30.36 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.2872, allocations: 0 / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.2872, allocations: 11.06 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.836e-05/0.2873, allocations: 27.7 kB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2873, allocations: 0 / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2873, allocations: 3.938 kB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2873, allocations: 0 / 0.498 GB, free: 29.38 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.0003067/0.2876, allocations: 268.8 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2876, allocations: 6.625 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.2877, allocations: 3.906 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.2877, allocations: 102.5 kB / 0.4983 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2878, allocations: 3.625 kB / 0.4983 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2878, allocations: 4.312 kB / 0.4983 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2879, allocations: 52.86 kB / 0.4984 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2879, allocations: 192 / 0.4984 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2879, allocations: 7.938 kB / 0.4984 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2879, allocations: 0 / 0.4984 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.2879, allocations: 17.19 kB / 0.4984 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.2882, allocations: 274.7 kB / 0.4987 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.2882, allocations: 24.83 kB / 0.4987 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.2882, allocations: 15.58 kB / 0.4987 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2883, allocations: 7.094 kB / 0.4987 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2883, allocations: 34.55 kB / 0.4987 GB, free: 28.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2883, allocations: 0 / 0.4987 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.2885, allocations: 61.17 kB / 0.4988 GB, free: 28.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2885, allocations: 54.53 kB / 0.4989 GB, free: 28.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.2885, allocations: 101 kB / 0.4989 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.2885, allocations: 25.7 kB / 0.499 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.2886, allocations: 83.66 kB / 0.4991 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.2886, allocations: 15 kB / 0.4991 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.2886, allocations: 17 kB / 0.4991 GB, free: 28.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.2886, allocations: 310.8 kB / 0.4994 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.2887, allocations: 13.75 kB / 0.4994 GB, free: 27.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.2887, allocations: 13.06 kB / 0.4994 GB, free: 27.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.2887, allocations: 38.17 kB / 0.4994 GB, free: 27.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2887, allocations: 0 / 0.4994 GB, free: 27.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.772e-05/0.2888, allocations: 61.45 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2888, allocations: 6.688 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2888, allocations: 4.062 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2888, allocations: 0 / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.2889, allocations: 14.31 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2889, allocations: 0 / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.2889, allocations: 6.984 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.289, allocations: 3.562 kB / 0.4995 GB, free: 27.76 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.963e-05/0.289, allocations: 108.9 kB / 0.4996 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.289, allocations: 7.188 kB / 0.4996 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2891, allocations: 61.45 kB / 0.4997 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2891, allocations: 7.125 kB / 0.4997 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2891, allocations: 0 / 0.4997 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2891, allocations: 0 / 0.4997 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.987e-05/0.2892, allocations: 104 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2892, allocations: 3.062 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.2893, allocations: 6.312 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2893, allocations: 3.938 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2893, allocations: 0 / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2893, allocations: 0 / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2893, allocations: 0 / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.501e-05/0.2894, allocations: 153.7 kB / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.2894, allocations: 14.45 kB / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2894, allocations: 0 / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.2894, allocations: 0 / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2895, allocations: 2.969 kB / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.2895, allocations: 7.875 kB / 0.5 GB, free: 27.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.945e-05/0.2895, allocations: 85.66 kB / 0.5001 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2895, allocations: 0 / 0.5001 GB, free: 27.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.2897, allocations: 5.969 kB / 0.5001 GB, free: 27.21 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 8.733e-05/0.2898, allocations: 103.2 kB / 0.5002 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.2899, allocations: 24.52 kB / 0.5002 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2899, allocations: 0 / 0.5002 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.2899, allocations: 17.5 kB / 0.5002 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2901, allocations: 0 / 0.5002 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.2903, allocations: 116.8 kB / 0.5003 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.2903, allocations: 61.83 kB / 0.5004 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2904, allocations: 10.58 kB / 0.5004 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.2904, allocations: 8.5 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2904, allocations: 0 / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002585/0.293, allocations: 462 kB / 0.5008 GB, free: 26.82 MB / 446.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 -s ida -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: 4.65072083089035]