Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0017/0.0017, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002129/0.002129, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2359/0.2359, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3661, allocations: 66.03 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003907/0.37, allocations: 1.729 MB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3721, allocations: 0.9715 MB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.3722, allocations: 4 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.3726, allocations: 111.6 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.373, allocations: 127.5 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3732, allocations: 79.67 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.3735, allocations: 135.6 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3736, allocations: 15.97 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3737, allocations: 59.77 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3739, allocations: 79.72 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3739, allocations: 8 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.374, allocations: 59.98 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.3741, allocations: 27.86 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.3741, allocations: 43.66 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.3744, allocations: 149.8 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3744, allocations: 4 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3744, allocations: 0 / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3745, allocations: 0 / 0.5654 GB, free: 0.5352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007087/0.3752, allocations: 405.1 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.3752, allocations: 8.031 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3753, allocations: 16.84 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3756, allocations: 159.2 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3757, allocations: 8.312 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.3757, allocations: 8.125 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3759, allocations: 69.66 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3759, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3759, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3759, allocations: 7.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3761, allocations: 39.95 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3765, allocations: 276.3 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3769, allocations: 66.55 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.3769, allocations: 28.84 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.377, allocations: 0 / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.3772, allocations: 79.41 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3772, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009467/0.3781, allocations: 301.2 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3782, allocations: 51.41 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.3785, allocations: 267.7 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3785, allocations: 29.7 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.3786, allocations: 112.1 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.3786, allocations: 39.69 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3787, allocations: 29.7 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3788, allocations: 330.8 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.3789, allocations: 31.98 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.379, allocations: 53.69 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3792, allocations: 97.64 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3792, allocations: 0 / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.3795, allocations: 153.5 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3795, allocations: 7.984 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3795, allocations: 0 / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3795, allocations: 0 / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3796, allocations: 24 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3796, allocations: 4.688 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.3797, allocations: 15.92 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3797, allocations: 4 kB / 0.568 GB, free: 13.67 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 (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.0001589/0.3798, allocations: 144.4 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3799, allocations: 15.91 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.3803, allocations: 182.3 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3803, allocations: 4 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3803, allocations: 0 / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3803, allocations: 3.938 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.381, allocations: 443.6 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.381, allocations: 0 / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.3811, allocations: 16 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3811, allocations: 3.938 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3811, allocations: 7.984 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3811, allocations: 0 / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3811, allocations: 0 / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.3815, allocations: 269 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3815, allocations: 15.91 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3815, allocations: 7.938 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.3816, allocations: 12.05 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3817, allocations: 11.98 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3817, allocations: 4 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3819, allocations: 201.5 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3819, allocations: 0 / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.3822, allocations: 31.94 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002182/0.3844, allocations: 0.5443 MB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3847, allocations: 87.91 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3847, allocations: 8.062 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3848, allocations: 51.91 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3852, allocations: 35.02 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.3858, allocations: 340.3 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3859, allocations: 114.6 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.769e-05/0.386, allocations: 25.19 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.3861, allocations: 19.44 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3861, allocations: 0 / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Templates: time 0.005966/0.392, allocations: 2.356 MB / 0.5728 GB, free: 8.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.107482820996665]