Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001377/0.001377, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001568/0.001568, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.451/1.451, allocations: 230.3 MB / 258 MB, free: 8.227 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.2295/0.2295, allocations: 46.9 MB / 361.3 MB, free: 4.422 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.81 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3695, allocations: 66.03 MB / 0.5616 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003221/0.3727, allocations: 1.848 MB / 0.5634 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3746, allocations: 1.119 MB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.3747, allocations: 7.938 kB / 0.5645 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.3752, allocations: 299.3 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.3757, allocations: 251.2 kB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.3759, allocations: 103.7 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.3762, allocations: 263.2 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.3763, allocations: 13.8 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.3765, allocations: 139.5 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3767, allocations: 215.9 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.3767, allocations: 8 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3769, allocations: 47.98 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.377, allocations: 132.5 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3772, allocations: 154.8 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.3776, allocations: 368.8 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3776, allocations: 0 / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3776, allocations: 0 / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.381e-06/0.3776, allocations: 0 / 0.5664 GB, free: 15.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009947/0.3786, allocations: 0.6786 MB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3787, allocations: 8.031 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.687e-05/0.3787, allocations: 52.61 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.3794, allocations: 394.4 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3794, allocations: 4.375 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3794, allocations: 4.375 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3796, allocations: 95.67 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3797, allocations: 0 / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3797, allocations: 0 / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3797, allocations: 0 / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3798, allocations: 35.91 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.3802, allocations: 349.5 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3805, allocations: 101.2 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.3806, allocations: 37.7 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3806, allocations: 3.984 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.3808, allocations: 117 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3808, allocations: 0 / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004889/0.3813, allocations: 205.2 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3814, allocations: 77.11 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3825, allocations: 1.026 MB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3825, allocations: 33.7 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.3827, allocations: 232.1 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.3828, allocations: 27.78 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3828, allocations: 29.7 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.383, allocations: 366.8 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/0.3831, allocations: 27.98 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3832, allocations: 59.3 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3834, allocations: 91.34 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.3834, allocations: 4 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003052/0.3837, allocations: 169.7 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3837, allocations: 4 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3837, allocations: 11.92 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3838, allocations: 64 / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3839, allocations: 28 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3839, allocations: 7.984 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.421e-05/0.384, allocations: 15.89 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.384, allocations: 4 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002422/0.3842, allocations: 213.8 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.3843, allocations: 55.61 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.3847, allocations: 197.8 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3847, allocations: 11.98 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3847, allocations: 0 / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3847, allocations: 0 / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.385, allocations: 312.5 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.385, allocations: 0 / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.3851, allocations: 19.88 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3851, allocations: 0 / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3851, allocations: 11.98 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3851, allocations: 0 / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3851, allocations: 0 / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.3854, allocations: 213.5 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3856, allocations: 71.53 kB / 0.5716 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.3856, allocations: 0 / 0.5716 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.3857, allocations: 11.98 kB / 0.5716 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.3858, allocations: 11.92 kB / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3858, allocations: 4 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008234/0.3866, allocations: 0.7682 MB / 0.5724 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 0.5724 GB, free: 9.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3869, allocations: 43.98 kB / 0.5724 GB, free: 9.137 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001456/0.3883, allocations: 405.1 kB / 0.5728 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.3886, allocations: 83.89 kB / 0.5729 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3886, allocations: 3.938 kB / 0.5729 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3887, allocations: 44.05 kB / 0.5729 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3892, allocations: 73.02 kB / 0.573 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3904, allocations: 0.8699 MB / 0.5739 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.3909, allocations: 0.8387 MB / 0.5747 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.391, allocations: 62.94 kB / 0.5747 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.3911, allocations: 31.44 kB / 0.5748 GB, free: 6.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3911, allocations: 0 / 0.5748 GB, free: 6.82 MB / 414.1 MB Notification: Performance of Templates: time 0.008803/0.3999, allocations: 3.859 MB / 0.5785 GB, free: 2.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.1966841937974095]