Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001694/0.001694, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002335/0.002335, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.532/1.532, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.2386/0.2386, 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.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 91.8 kB / 0.4974 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3789, allocations: 66.08 MB / 0.562 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003535/0.3824, allocations: 1.718 MB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3843, allocations: 0.967 MB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.3844, allocations: 0 / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.3847, allocations: 47.75 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3851, allocations: 95.59 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.3853, allocations: 75.69 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3855, allocations: 107.7 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.3856, allocations: 4 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.3857, allocations: 43.78 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.3858, allocations: 35.73 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3858, allocations: 7.984 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3859, allocations: 39.98 kB / 0.565 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.386, allocations: 23.92 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3861, allocations: 31.8 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3863, allocations: 121.9 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3863, allocations: 0 / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3863, allocations: 7.875 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.3863, allocations: 0 / 0.5652 GB, free: 0.6523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000655/0.387, allocations: 353.5 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.387, allocations: 8.031 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3871, allocations: 12.89 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3874, allocations: 147 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3874, allocations: 4.375 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.3874, allocations: 4.375 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3876, allocations: 61.98 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3876, allocations: 0 / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3876, allocations: 0 / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3876, allocations: 0 / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3877, allocations: 31.91 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3881, allocations: 220.6 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3883, allocations: 62.61 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.3884, allocations: 20.84 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3884, allocations: 7.938 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.3886, allocations: 71.38 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3886, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.3891, allocations: 185.3 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3892, allocations: 51.41 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.3894, allocations: 206.3 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3895, allocations: 29.7 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.3895, allocations: 104.1 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.3896, allocations: 27.78 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3896, allocations: 25.72 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3898, allocations: 330.8 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.3899, allocations: 20 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.3899, allocations: 33.7 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3901, allocations: 65.64 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3901, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.3903, allocations: 113.5 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3903, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3903, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3903, allocations: 8.406 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.3904, allocations: 15.98 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3904, allocations: 4.125 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3905, allocations: 8 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.3905, allocations: 3.938 kB / 0.5673 GB, free: 14.27 MB / 414.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001965/0.3907, allocations: 136.2 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.3907, allocations: 11.91 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.391, allocations: 127.1 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.391, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.391, allocations: 4 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.391, allocations: 0 / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.3915, allocations: 346.9 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3915, allocations: 7.984 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3915, allocations: 11.94 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3915, allocations: 0 / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3915, allocations: 8 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3915, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3915, allocations: 3.984 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3918, allocations: 216.2 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.3918, allocations: 11.98 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.3918, allocations: 4 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3919, allocations: 7.984 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.392, allocations: 7.938 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.392, allocations: 3.984 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.3921, allocations: 148.2 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3921, allocations: 0 / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3924, allocations: 31.92 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001885/0.3943, allocations: 485.3 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.3945, allocations: 59.91 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3945, allocations: 0 / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.3946, allocations: 31.92 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.395, allocations: 35.42 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.3955, allocations: 264.5 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3956, allocations: 96.12 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3957, allocations: 23.36 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3957, allocations: 0 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.004492/0.4001, allocations: 1.993 MB / 0.5713 GB, free: 10.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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: 8.135176245123148]