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.001471/0.001471, allocations: 111.6 kB / 21.19 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.001545/0.001545, allocations: 219.4 kB / 24.48 MB, free: 3.965 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.471/1.471, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.2332/0.2332, allocations: 46.95 MB / 361.6 MB, free: 3.918 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.00251/0.00251, allocations: 83.86 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3746, allocations: 66.08 MB / 0.562 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00339/0.3779, allocations: 1.797 MB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.38, allocations: 1.041 MB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.3801, allocations: 4 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.3807, allocations: 299.3 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.3812, allocations: 255.2 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3815, allocations: 107.6 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.3819, allocations: 267.2 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.3819, allocations: 5.812 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.3821, allocations: 127.6 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.3824, allocations: 215.8 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.3824, allocations: 12 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3825, allocations: 47.98 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3827, allocations: 140.4 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3828, allocations: 103.1 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.3833, allocations: 384.6 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3833, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3833, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3833, allocations: 0 / 0.5666 GB, free: 15.18 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.001062/0.3844, allocations: 0.6786 MB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3844, allocations: 8.031 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.3845, allocations: 52.61 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.3852, allocations: 386.5 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3852, allocations: 384 / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3852, allocations: 12.36 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3854, allocations: 83.69 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3854, allocations: 0 / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3854, allocations: 7.984 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3854, allocations: 0 / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3856, allocations: 35.92 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3859, allocations: 306.1 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.3862, allocations: 105.2 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.3863, allocations: 41.69 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3864, allocations: 4 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.3866, allocations: 105 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3866, allocations: 0 / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005269/0.3871, allocations: 221.1 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3872, allocations: 81.11 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3884, allocations: 1.03 MB / 0.5697 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3884, allocations: 25.7 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.3886, allocations: 240.1 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.3887, allocations: 27.78 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3887, allocations: 25.72 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3889, allocations: 366.8 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.389, allocations: 31.97 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3891, allocations: 67.41 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3893, allocations: 103.8 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3893, allocations: 0 / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003364/0.3897, allocations: 177.2 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3897, allocations: 11.94 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3897, allocations: 0 / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3897, allocations: 3.938 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3898, allocations: 31.98 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3899, allocations: 0 / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.39, allocations: 11.89 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.39, allocations: 8 kB / 0.5707 GB, free: 10.71 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.0002469/0.3902, allocations: 222.6 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3903, allocations: 51.61 kB / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.3907, allocations: 197.8 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3907, allocations: 4 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3907, allocations: 3.938 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3907, allocations: 7.984 kB / 0.5712 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3911, allocations: 265.2 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3911, allocations: 4 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.3911, allocations: 11.98 kB / 0.5715 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3911, allocations: 0 / 0.5715 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3911, allocations: 8.188 kB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3911, allocations: 0 / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3911, allocations: 4 kB / 0.5715 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.3915, allocations: 225.4 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.3917, allocations: 67.59 kB / 0.5718 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.3917, allocations: 11.94 kB / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.3918, allocations: 0 / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3919, allocations: 11.98 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3919, allocations: 11.98 kB / 0.5718 GB, free: 9.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008777/0.3928, allocations: 0.7682 MB / 0.5726 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3928, allocations: 0 / 0.5726 GB, free: 8.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.393, allocations: 43.98 kB / 0.5726 GB, free: 8.742 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.001708/0.3948, allocations: 422.5 kB / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.395, allocations: 91.89 kB / 0.5731 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.395, allocations: 4 kB / 0.5731 GB, free: 8.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3952, allocations: 43.86 kB / 0.5731 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3956, allocations: 83.36 kB / 0.5732 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.397, allocations: 0.9146 MB / 0.5741 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3972, allocations: 241.8 kB / 0.5743 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.3973, allocations: 31.44 kB / 0.5744 GB, free: 7.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3973, allocations: 0 / 0.5744 GB, free: 7.02 MB / 414.1 MB Notification: Performance of Templates: time 0.009178/0.4065, allocations: 5.236 MB / 0.5795 GB, free: 1.789 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/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: 8.203155315946788]