Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001038/0.001038, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001338/0.001338, allocations: 160.1 kB / 24.82 MB, free: 8.914 MB / 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.018/1.018, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 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.2592/0.2592, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.058e-05, allocations: 8.922 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.006059/0.006089, allocations: 1.75 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004507/0.0106, allocations: 1.004 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.0107, allocations: 4 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.01108, allocations: 83.58 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.01139, allocations: 115.5 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.01156, allocations: 87.59 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.01173, allocations: 123.5 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.01182, allocations: 7.984 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.01192, allocations: 63.77 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.01203, allocations: 59.86 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.01204, allocations: 4 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.559e-05/0.01213, allocations: 43.92 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.01218, allocations: 27.91 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.01221, allocations: 19.88 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.01239, allocations: 103.6 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.01239, allocations: 4 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01239, allocations: 0 / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.0124, allocations: 4 kB / 382.8 MB, free: 14.21 MB / 362.7 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.0004446/0.01284, allocations: 455.8 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01288, allocations: 11.97 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.01292, allocations: 16.84 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.01609, allocations: 156.3 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.01611, allocations: 384 / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.01612, allocations: 8.328 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.01624, allocations: 58.94 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.01624, allocations: 8.188 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.01625, allocations: 384 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01626, allocations: 3.938 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.01629, allocations: 11.98 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.01654, allocations: 260.4 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.01663, allocations: 47.17 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.01665, allocations: 19.67 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.01667, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.607e-05/0.01676, allocations: 72.97 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.01676, allocations: 4 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003504/0.01712, allocations: 137.4 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.01714, allocations: 55.41 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01729, allocations: 238.6 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.01731, allocations: 29.7 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.01737, allocations: 166.8 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.0174, allocations: 19.8 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.01745, allocations: 35.34 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01758, allocations: 0.4962 MB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.01761, allocations: 8 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.01764, allocations: 39.28 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.0177, allocations: 47.3 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0177, allocations: 384 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001216/0.01782, allocations: 89.52 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01784, allocations: 8 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01784, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01785, allocations: 3.938 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.01793, allocations: 19.98 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.01793, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.01797, allocations: 8.031 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.01797, allocations: 4 kB / 385.3 MB, free: 11.5 MB / 362.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: 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 7.453e-05/0.01805, allocations: 156.6 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.01807, allocations: 15.89 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.01823, allocations: 111 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01823, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01823, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01823, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.01864, allocations: 365.6 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01865, allocations: 4.031 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.01868, allocations: 8 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01869, allocations: 4 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.01869, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.0187, allocations: 3.938 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.0187, allocations: 3.984 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.02192, allocations: 251.4 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.02195, allocations: 15.94 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.02197, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.02203, allocations: 4 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.02206, allocations: 11.98 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.02208, allocations: 11.98 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.653e-05/0.02218, allocations: 173 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02218, allocations: 0 / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.02243, allocations: 27.94 kB / 386.5 MB, free: 10.27 MB / 362.7 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.001138/0.02357, allocations: 432.4 kB / 386.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.0237, allocations: 47.59 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.02371, allocations: 4 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.02376, allocations: 39.59 kB / 387 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.02409, allocations: 31.88 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.02453, allocations: 240.6 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.02458, allocations: 71.33 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.605e-05/0.02463, allocations: 13.28 kB / 387.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.02472, allocations: 86.19 kB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.02472, allocations: 7.938 kB / 387.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of Templates: time 0.003812/0.02853, allocations: 2.039 MB / 389.4 MB, free: 7.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.998142824973911]