Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001105/0.001105, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009966/0.0009966, allocations: 162.1 kB / 25.61 MB, free: 8.582 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.9773/0.9773, allocations: 177 MB / 205.9 MB, free: 4.418 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.1635/0.1635, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.869e-05, allocations: 2.875 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001909/0.001928, allocations: 1.75 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003009, allocations: 0.9945 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.00308, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.003332, allocations: 39.77 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.003603, allocations: 103.4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.003782, allocations: 75.66 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.00391, allocations: 107.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.00399, allocations: 4 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.004066, allocations: 59.77 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.004129, allocations: 27.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.004142, allocations: 4 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.004213, allocations: 51.91 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.004253, allocations: 23.86 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.004281, allocations: 23.94 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.004418, allocations: 91.66 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004419, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00442, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004423, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.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.0003099/0.004733, allocations: 447.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.004763, allocations: 12.03 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.004795, allocations: 8.891 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004908, allocations: 157 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.004924, allocations: 8.375 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004939, allocations: 4.328 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.005038, allocations: 62.94 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005047, allocations: 192 / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005053, allocations: 4.359 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.005058, allocations: 3.938 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.005081, allocations: 11.94 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.005266, allocations: 248.5 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.005344, allocations: 55.14 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.005363, allocations: 15.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.005373, allocations: 4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.635e-05/0.005439, allocations: 68.98 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.00544, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002854/0.005726, allocations: 141.6 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.005749, allocations: 51.41 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.005839, allocations: 219.9 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.005849, allocations: 29.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.005887, allocations: 150.8 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.005915, allocations: 27.84 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.005946, allocations: 31.36 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.006014, allocations: 0.4962 MB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.006029, allocations: 4.188 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.006055, allocations: 35.36 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.006106, allocations: 51.34 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006107, allocations: 0 / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.544e-05/0.006193, allocations: 89.53 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.006203, allocations: 9.5 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006208, allocations: 4.031 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.006218, allocations: 4 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.006276, allocations: 15.98 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.006279, allocations: 0 / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.006306, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006312, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.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 5.124e-05/0.006363, allocations: 156.6 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.006379, allocations: 27.77 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.006491, allocations: 103.1 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006492, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006494, allocations: 4 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006497, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.006688, allocations: 369.5 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006689, allocations: 0 / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.00671, allocations: 8 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006712, allocations: 3.938 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006717, allocations: 4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006718, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006719, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.006807, allocations: 251.4 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.006817, allocations: 15.94 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.006833, allocations: 8 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.006869, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.006893, allocations: 7.984 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.006902, allocations: 4 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.785e-05/0.00694, allocations: 164.8 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00694, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.007111, allocations: 23.98 kB / 387 MB, free: 15.42 MB / 314.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.0008346/0.007945, allocations: 444.3 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.008045, allocations: 43.61 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008047, allocations: 0 / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.008077, allocations: 31.61 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008292, allocations: 31.91 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.008547, allocations: 216.2 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.008575, allocations: 71.2 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.008607, allocations: 17.41 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.008661, allocations: 90.12 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008661, allocations: 0 / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Templates: time 0.003222/0.01188, allocations: 2.063 MB / 390 MB, free: 12.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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: 3.2905792081728578]