Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.001252/0.001252, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.000906/0.000906, allocations: 167.1 kB / 24.82 MB, free: 9.32 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 0.954/0.954, allocations: 177 MB / 205.1 MB, free: 5.477 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.267/0.267, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.834e-05, allocations: 2.875 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003362/0.00339, allocations: 1.761 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.005021, allocations: 1.008 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.005123, allocations: 4 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.005444, allocations: 47.7 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.005812, allocations: 103.5 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.006061, allocations: 79.66 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.006249, allocations: 107.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.006345, allocations: 11.98 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.006462, allocations: 51.84 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.006544, allocations: 35.83 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00656, allocations: 4 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.006671, allocations: 43.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.006736, allocations: 27.86 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.00678, allocations: 19.92 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.006994, allocations: 111.6 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006997, allocations: 4 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006999, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007005, allocations: 4 kB / 382.7 MB, free: 14.3 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.0005207/0.007525, allocations: 475.6 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.007568, allocations: 15.97 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.007617, allocations: 16.83 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.007814, allocations: 165.2 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007832, allocations: 4.375 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.00785, allocations: 4.375 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.007974, allocations: 58.94 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.007983, allocations: 192 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.007993, allocations: 4.375 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.008, allocations: 7.938 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.008033, allocations: 11.98 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.008341, allocations: 268.3 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.008447, allocations: 51.14 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.008476, allocations: 15.67 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.008492, allocations: 4 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.008601, allocations: 68.98 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.008603, allocations: 0 / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00039/0.008993, allocations: 149.4 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.009024, allocations: 55.41 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.009221, allocations: 269.6 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.009239, allocations: 25.7 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.009323, allocations: 166.8 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.009357, allocations: 27.78 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.009403, allocations: 31.36 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.009558, allocations: 0.5001 MB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.009586, allocations: 11.98 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.009627, allocations: 35.3 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.009687, allocations: 51.3 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009688, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001394/0.009828, allocations: 93.47 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009843, allocations: 8 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009848, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.009861, allocations: 3.938 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.009938, allocations: 15.98 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.009942, allocations: 4 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.009981, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.009989, allocations: 8.031 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 9.784e-05/0.01009, allocations: 160.6 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01012, allocations: 23.83 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.01029, allocations: 99.08 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01029, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.0103, allocations: 7.984 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.0103, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.01065, allocations: 361.6 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01066, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.01069, allocations: 20.02 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.0107, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.0107, allocations: 3.938 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01071, allocations: 7.938 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01071, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.0109, allocations: 267.3 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01092, allocations: 11.91 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.01094, allocations: 0 / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.01101, allocations: 7.984 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.01104, allocations: 11.98 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01105, allocations: 384 / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01116, allocations: 188.5 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01116, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.01145, allocations: 23.94 kB / 386.5 MB, free: 10.25 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.001183/0.01263, allocations: 435.4 kB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01275, allocations: 51.58 kB / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01276, allocations: 0 / 386.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.0128, allocations: 31.61 kB / 387 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.01314, allocations: 39.97 kB / 387 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.01359, allocations: 258.5 kB / 387.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.01364, allocations: 79.31 kB / 387.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.01369, allocations: 13.28 kB / 387.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.01378, allocations: 86.19 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01378, allocations: 0 / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of Templates: time 0.004934/0.01871, allocations: 2.065 MB / 389.5 MB, free: 7.312 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.9178460803814232]