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.001886/0.001886, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002298/0.002298, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 18.57 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.593/1.593, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.3263/0.3263, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 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.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.411e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001669/0.001693, allocations: 0.5066 MB / 377.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.001989, allocations: 95.61 kB / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.00201, allocations: 0 / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.002023, allocations: 3.938 kB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.002049, allocations: 0 / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.002222, allocations: 11.98 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.002277, allocations: 7.984 kB / 377.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.002312, allocations: 8 kB / 377.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.002354, allocations: 7.984 kB / 377.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.002397, allocations: 11.92 kB / 377.8 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002413, allocations: 4 kB / 377.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.002494, allocations: 23.97 kB / 377.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.002513, allocations: 8 kB / 377.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.002533, allocations: 0 / 377.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.002651, allocations: 35.81 kB / 377.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002653, allocations: 0 / 377.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002654, allocations: 0 / 377.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.002657, allocations: 0 / 377.9 MB, free: 2.199 MB / 346.7 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.0003916/0.003048, allocations: 250.4 kB / 378.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.003081, allocations: 15.97 kB / 378.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.003123, allocations: 8.891 kB / 378.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.003236, allocations: 105.7 kB / 378.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.00325, allocations: 8.375 kB / 378.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003258, allocations: 384 / 378.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.003383, allocations: 51.97 kB / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.003391, allocations: 192 / 378.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.003401, allocations: 4.375 kB / 378.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.003405, allocations: 4.312 kB / 378.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.003452, allocations: 15.92 kB / 378.4 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.003778, allocations: 268.8 kB / 378.6 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.003844, allocations: 30.52 kB / 378.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.003887, allocations: 16.86 kB / 378.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.003904, allocations: 0 / 378.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.003938, allocations: 34.56 kB / 378.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.003939, allocations: 0 / 378.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.00414, allocations: 57.72 kB / 378.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.004186, allocations: 55.39 kB / 378.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.004278, allocations: 93.86 kB / 378.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.004297, allocations: 29.83 kB / 378.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.004359, allocations: 88.03 kB / 379 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.004377, allocations: 15.91 kB / 379 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.004428, allocations: 21.7 kB / 379.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.0046, allocations: 310.8 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.004624, allocations: 4 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.004658, allocations: 21.72 kB / 379.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.004717, allocations: 25.7 kB / 379.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004718, allocations: 0 / 379.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001098/0.004828, allocations: 61.62 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.00484, allocations: 8.031 kB / 379.5 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.004848, allocations: 3.938 kB / 379.5 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.004867, allocations: 4 kB / 379.5 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.004926, allocations: 4 kB / 379.5 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.004933, allocations: 4 kB / 379.5 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.004958, allocations: 3.938 kB / 379.5 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.004963, allocations: 3.938 kB / 379.5 MB, free: 416 kB / 346.7 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.336e-05/0.005057, allocations: 121.8 kB / 379.6 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.005079, allocations: 0 / 379.6 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.005217, allocations: 69.5 kB / 379.7 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.005222, allocations: 7.984 kB / 379.7 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005226, allocations: 0 / 379.7 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005228, allocations: 4 kB / 379.7 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.005387, allocations: 109.3 kB / 379.8 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005388, allocations: 0 / 379.8 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.005431, allocations: 8 kB / 379.8 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005432, allocations: 0 / 379.8 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005438, allocations: 0 / 379.8 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.005442, allocations: 4.125 kB / 379.8 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005443, allocations: 0 / 379.8 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.005625, allocations: 155.5 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-06/0.005633, allocations: 8 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.005646, allocations: 4 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.005698, allocations: 3.938 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.005729, allocations: 3.984 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.005732, allocations: 0 / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.005781, allocations: 79.28 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005781, allocations: 0 / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.00601, allocations: 8 kB / 380.1 MB, free: 15.77 MB / 362.7 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.0001289/0.006139, allocations: 95.34 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.00625, allocations: 31.92 kB / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006252, allocations: 0 / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.006283, allocations: 12 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.006502, allocations: 7.938 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.006773, allocations: 124.5 kB / 380.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.006838, allocations: 63.3 kB / 380.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.006872, allocations: 8.047 kB / 380.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.006902, allocations: 12.5 kB / 380.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006902, allocations: 3.938 kB / 380.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Templates: time 0.002858/0.00976, allocations: 474.8 kB / 380.9 MB, free: 14.91 MB / 362.7 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: 4.773676500073634]