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.001461/0.001461, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001676/0.001676, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.2339/0.2339, allocations: 46.94 MB / 361.5 MB, free: 3.922 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 83.86 kB / 0.4974 GB, free: 6.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3854, allocations: 66.08 MB / 0.562 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003363/0.3888, allocations: 1.706 MB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3907, allocations: 0.9709 MB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.3908, allocations: 4 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.3912, allocations: 79.7 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3915, allocations: 115.6 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3918, allocations: 83.66 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.392, allocations: 123.6 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3921, allocations: 7.984 kB / 0.565 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.3922, allocations: 47.78 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3923, allocations: 63.75 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3923, allocations: 4 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3924, allocations: 51.97 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.3925, allocations: 27.91 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.3925, allocations: 23.81 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3928, allocations: 129.8 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3928, allocations: 3.984 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3928, allocations: 0 / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3928, allocations: 0 / 0.5653 GB, free: 0.4922 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.0005885/0.3934, allocations: 353.5 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3934, allocations: 12.03 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.3935, allocations: 16.84 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3938, allocations: 158.3 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3938, allocations: 4.375 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3938, allocations: 384 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.394, allocations: 61.92 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.394, allocations: 3.938 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.394, allocations: 8 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.394, allocations: 0 / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.3941, allocations: 19.98 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.3945, allocations: 236.6 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3947, allocations: 62.56 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.3948, allocations: 24.84 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3948, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.3949, allocations: 67.39 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3949, allocations: 0 / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005875/0.3955, allocations: 185.3 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3956, allocations: 59.39 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3958, allocations: 227.5 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3958, allocations: 29.69 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3959, allocations: 108.1 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.396, allocations: 23.78 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.396, allocations: 25.72 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3961, allocations: 330.8 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.3962, allocations: 20 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.3963, allocations: 41.64 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3964, allocations: 61.7 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3964, allocations: 384 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002053/0.3966, allocations: 113.5 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3966, allocations: 4 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3966, allocations: 0 / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3967, allocations: 7.984 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.3968, allocations: 23.98 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3968, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.3968, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3968, allocations: 4.188 kB / 0.5675 GB, free: 14.05 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.0001184/0.3969, allocations: 137.7 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.397, allocations: 19.84 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3972, allocations: 123 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3972, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3972, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3972, allocations: 4 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.3977, allocations: 350.9 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3977, allocations: 4 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.3977, allocations: 15.98 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3978, allocations: 0 / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3978, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3978, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3978, allocations: 4.031 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3981, allocations: 216.2 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.3981, allocations: 11.91 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3981, allocations: 7.984 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.3982, allocations: 4 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3982, allocations: 11.92 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3982, allocations: 8 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.3984, allocations: 169.1 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3984, allocations: 0 / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3987, allocations: 31.92 kB / 0.5686 GB, free: 12.87 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.001867/0.4005, allocations: 487.7 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.4007, allocations: 63.97 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4007, allocations: 64 / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.4008, allocations: 31.92 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4012, allocations: 43.05 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.4017, allocations: 277 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4018, allocations: 96.75 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4019, allocations: 23.36 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4019, allocations: 3.938 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004252/0.4061, allocations: 2.039 MB / 0.5716 GB, free: 9.957 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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: 7.950659886933863]