Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00145/0.00145, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002044/0.002044, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.446/1.446, allocations: 230.3 MB / 258 MB, free: 8.215 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.225/0.225, allocations: 46.89 MB / 361.3 MB, free: 4.441 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3757, allocations: 66.02 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003476/0.3791, allocations: 1.848 MB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3811, allocations: 1.119 MB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.3812, allocations: 3.938 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3818, allocations: 303.3 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.3823, allocations: 247.2 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.3826, allocations: 107.7 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.3829, allocations: 271.2 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.383, allocations: 9.812 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3832, allocations: 135.5 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.3834, allocations: 211.9 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3835, allocations: 8 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3836, allocations: 51.97 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3837, allocations: 132.5 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3839, allocations: 146.7 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.3844, allocations: 380.8 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3844, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3844, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.3844, allocations: 0 / 0.5664 GB, free: 15.65 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.001021/0.3854, allocations: 0.6786 MB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3855, allocations: 8.031 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.653e-05/0.3856, allocations: 48.61 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3863, allocations: 398.5 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3863, allocations: 8.359 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3863, allocations: 384 / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.3866, allocations: 95.69 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3866, allocations: 0 / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3866, allocations: 7.984 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3866, allocations: 0 / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3867, allocations: 31.92 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3872, allocations: 341.5 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.3875, allocations: 109.2 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.3876, allocations: 33.7 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3876, allocations: 4 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3878, allocations: 117 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3878, allocations: 3.938 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005278/0.3884, allocations: 197.3 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3884, allocations: 81.05 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3896, allocations: 1.022 MB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3896, allocations: 25.7 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3898, allocations: 240.1 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.3899, allocations: 35.77 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3899, allocations: 21.72 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3901, allocations: 370.8 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.3902, allocations: 27.98 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3903, allocations: 63.28 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3905, allocations: 87.36 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3905, allocations: 3.938 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003104/0.3908, allocations: 177.7 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3908, allocations: 4 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3908, allocations: 4.188 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.3909, allocations: 11.94 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.391, allocations: 23.92 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.391, allocations: 4 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3911, allocations: 11.89 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3911, allocations: 8 kB / 0.5705 GB, free: 11.16 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.0002409/0.3914, allocations: 215.1 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3914, allocations: 55.61 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.3918, allocations: 201.8 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3918, allocations: 0 / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3918, allocations: 4 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3918, allocations: 0 / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.3922, allocations: 308.5 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3922, allocations: 0 / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.3923, allocations: 23.86 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3923, allocations: 0 / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3923, allocations: 4 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3923, allocations: 4 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3923, allocations: 4 kB / 0.5713 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.3926, allocations: 213.5 kB / 0.5715 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3928, allocations: 67.53 kB / 0.5716 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.3928, allocations: 4 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.3929, allocations: 4 kB / 0.5716 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.393, allocations: 19.92 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.393, allocations: 8.109 kB / 0.5716 GB, free: 9.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008752/0.3939, allocations: 0.7604 MB / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3939, allocations: 0 / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3941, allocations: 40 kB / 0.5724 GB, free: 9.164 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.001526/0.3957, allocations: 409.6 kB / 0.5728 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3959, allocations: 87.83 kB / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3959, allocations: 4.125 kB / 0.5729 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3961, allocations: 39.92 kB / 0.5729 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.3965, allocations: 84.69 kB / 0.573 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3978, allocations: 0.866 MB / 0.5739 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3983, allocations: 0.8504 MB / 0.5747 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3984, allocations: 50.97 kB / 0.5747 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.3985, allocations: 35.42 kB / 0.5748 GB, free: 6.836 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3985, allocations: 0 / 0.5748 GB, free: 6.836 MB / 414.1 MB Notification: Performance of Templates: time 0.009001/0.4075, allocations: 3.85 MB / 0.5785 GB, free: 2.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.244006650522351]