Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.00141/0.00141, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001614/0.001614, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.59/1.59, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2586/0.2586, allocations: 46.94 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 75.88 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4529, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003572/0.4565, allocations: 1.704 MB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.4598, allocations: 1.66 MB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.4598, allocations: 4 kB / 0.5645 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.4602, allocations: 39.77 kB / 0.5646 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.4606, allocations: 103.5 kB / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.4609, allocations: 87.66 kB / 0.5648 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4611, allocations: 95.7 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4612, allocations: 11.98 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.4613, allocations: 47.78 kB / 0.5649 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4614, allocations: 39.83 kB / 0.5649 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.4615, allocations: 4 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.4618, allocations: 103.9 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.4618, allocations: 23.91 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.4619, allocations: 27.8 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.4623, allocations: 181.6 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4623, allocations: 0 / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4623, allocations: 4 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4623, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.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.0006321/0.4629, allocations: 345.5 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4629, allocations: 8.031 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.463, allocations: 12.84 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.4633, allocations: 158.8 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4634, allocations: 384 / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.4634, allocations: 8.125 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.4636, allocations: 101 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4636, allocations: 0 / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4636, allocations: 4 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4636, allocations: 4 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.4637, allocations: 19.98 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.4641, allocations: 232.5 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.4643, allocations: 62.61 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.4644, allocations: 20.84 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.4644, allocations: 0 / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.4646, allocations: 67.39 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.4646, allocations: 4 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006397/0.4653, allocations: 177.3 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.4653, allocations: 85.11 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.4656, allocations: 166.5 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.4656, allocations: 29.7 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.4656, allocations: 92.14 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.4657, allocations: 35.72 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.4658, allocations: 25.72 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.466, allocations: 326.8 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.4661, allocations: 27.92 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.4662, allocations: 72.27 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.4663, allocations: 53.7 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4663, allocations: 0 / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.4665, allocations: 105.6 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4665, allocations: 8 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4666, allocations: 0 / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4666, allocations: 192 / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.4667, allocations: 12 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4667, allocations: 8 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.4667, allocations: 11.98 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4667, allocations: 4 kB / 0.5675 GB, free: 13.39 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.0001262/0.4669, allocations: 125.7 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.4669, allocations: 7.953 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4672, allocations: 122.2 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4672, allocations: 0 / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4672, allocations: 0 / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4672, allocations: 3.984 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.4677, allocations: 354.9 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4677, allocations: 384 / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.4677, allocations: 11.98 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4677, allocations: 8 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4678, allocations: 0 / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4678, allocations: 0 / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4678, allocations: 7.938 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4681, allocations: 216.2 kB / 0.5683 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.4681, allocations: 15.91 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.4681, allocations: 4 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.4682, allocations: 4.031 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4682, allocations: 15.92 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4683, allocations: 4 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.4684, allocations: 135.9 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4684, allocations: 0 / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.4687, allocations: 43.88 kB / 0.5685 GB, free: 12.25 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.002286/0.471, allocations: 0.5807 MB / 0.5691 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.4712, allocations: 59.89 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4712, allocations: 4 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.4713, allocations: 27.98 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4717, allocations: 31.91 kB / 0.5692 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.4723, allocations: 206.7 kB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.4724, allocations: 89.44 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.754e-05/0.4724, allocations: 21.27 kB / 0.5695 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.4725, allocations: 19.42 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4725, allocations: 0 / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.007102/0.4796, allocations: 2.536 MB / 0.572 GB, free: 8.852 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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: 5.520410278812051]