Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.352, allocations: 66.04 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003074/0.3551, allocations: 1.714 MB / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3568, allocations: 0.9744 MB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.3568, allocations: 7.938 kB / 0.5645 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.3571, allocations: 43.77 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.3574, allocations: 99.53 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3576, allocations: 83.66 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3578, allocations: 95.77 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.3579, allocations: 11.98 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.358, allocations: 51.72 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.3581, allocations: 31.86 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3581, allocations: 4 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3582, allocations: 47.91 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3583, allocations: 19.92 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.3583, allocations: 27.8 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3585, allocations: 129.8 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.3586, allocations: 0 / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3586, allocations: 0 / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3586, allocations: 0 / 0.5651 GB, free: 0.8281 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.0005911/0.3592, allocations: 353.5 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3592, allocations: 12.03 kB / 0.5655 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3592, allocations: 12.83 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3595, allocations: 154.3 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3595, allocations: 4.359 kB / 0.5656 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.3595, allocations: 16.11 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3597, allocations: 49.67 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3597, allocations: 0 / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3597, allocations: 4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3597, allocations: 4 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.3598, allocations: 23.92 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3602, allocations: 244.4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3604, allocations: 50.67 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.3604, allocations: 24.84 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3605, allocations: 7.938 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.3606, allocations: 67.33 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3606, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.3612, allocations: 181.4 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3613, allocations: 59.34 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3615, allocations: 226.6 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3615, allocations: 25.7 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.3616, allocations: 108.1 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3617, allocations: 23.84 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.3617, allocations: 17.72 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3618, allocations: 334.8 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.3619, allocations: 16 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.362, allocations: 41.7 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3621, allocations: 66.02 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3621, allocations: 0 / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.3623, allocations: 105.6 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3623, allocations: 4 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3623, allocations: 4 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3624, allocations: 4 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.3625, allocations: 19.92 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3625, allocations: 0 / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.3625, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3625, allocations: 4 kB / 0.5673 GB, free: 14.41 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.0001097/0.3626, allocations: 133.8 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3627, allocations: 11.91 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.3629, allocations: 127 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3629, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3629, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3629, allocations: 0 / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.3634, allocations: 354.9 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3634, allocations: 288 / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.3635, allocations: 8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3635, allocations: 11.97 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3635, allocations: 7.922 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3635, allocations: 0 / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.3635, allocations: 7.875 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3638, allocations: 212.3 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.3638, allocations: 7.953 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.3638, allocations: 7.984 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.3639, allocations: 3.938 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.3639, allocations: 15.92 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.364, allocations: 4 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3641, allocations: 159.2 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.3644, allocations: 24 kB / 0.5683 GB, free: 13.26 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.001898/0.3663, allocations: 0.4897 MB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3665, allocations: 59.91 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3665, allocations: 3.938 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.3666, allocations: 35.92 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3669, allocations: 37.78 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.3674, allocations: 242.9 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3675, allocations: 100.9 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3676, allocations: 13.28 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.3676, allocations: 15.44 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3676, allocations: 0 / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005219/0.3728, allocations: 1.939 MB / 0.5712 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.139967131995945]