Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001439/0.001439, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00167/0.00167, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.95 MB / 359.6 MB, free: 6.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 73.92 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 65.48 MB / 0.5583 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003673/0.3752, allocations: 1.705 MB / 0.5599 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3771, allocations: 0.9715 MB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.3772, allocations: 3.938 kB / 0.5609 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.3776, allocations: 83.73 kB / 0.561 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.378, allocations: 115.5 kB / 0.5611 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.3782, allocations: 79.67 kB / 0.5611 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3784, allocations: 123.7 kB / 0.5613 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3786, allocations: 4 kB / 0.5613 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3787, allocations: 55.77 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3788, allocations: 63.73 kB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3788, allocations: 4 kB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3789, allocations: 43.98 kB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.379, allocations: 27.92 kB / 0.5615 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.379, allocations: 35.72 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3793, allocations: 118 kB / 0.5616 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3793, allocations: 4 kB / 0.5616 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3793, allocations: 4 kB / 0.5616 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3793, allocations: 4 kB / 0.5616 GB, free: 4 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.0006044/0.3799, allocations: 357.4 kB / 0.562 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3799, allocations: 11.97 kB / 0.562 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.38, allocations: 16.84 kB / 0.562 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3803, allocations: 150.3 kB / 0.5621 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3803, allocations: 384 / 0.5621 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3803, allocations: 16.11 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3805, allocations: 53.67 kB / 0.5622 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3805, allocations: 0 / 0.5622 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3805, allocations: 8 kB / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3805, allocations: 0 / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.3806, allocations: 23.92 kB / 0.5622 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.381, allocations: 244.5 kB / 0.5625 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3812, allocations: 54.67 kB / 0.5625 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.3812, allocations: 20.84 kB / 0.5625 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3812, allocations: 4 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3814, allocations: 67.33 kB / 0.5626 GB, free: 2.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3814, allocations: 8 kB / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/0.382, allocations: 181.3 kB / 0.5628 GB, free: 2.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3821, allocations: 55.41 kB / 0.5628 GB, free: 2.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3824, allocations: 227.5 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3824, allocations: 25.7 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3825, allocations: 112.1 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3825, allocations: 23.8 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.3826, allocations: 25.7 kB / 0.5632 GB, free: 2.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3827, allocations: 326.8 kB / 0.5635 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3828, allocations: 23.98 kB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.3829, allocations: 37.7 kB / 0.5636 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.383, allocations: 69.62 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.383, allocations: 3.938 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.3832, allocations: 101.6 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3832, allocations: 6.344 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3832, allocations: 7.984 kB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3833, allocations: 0 / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.3833, allocations: 15.94 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3833, allocations: 4.031 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.3834, allocations: 4 kB / 0.5638 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3834, allocations: 7.984 kB / 0.5638 GB, free: 1.559 MB / 398.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.0001317/0.3835, allocations: 130.5 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3836, allocations: 15.89 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.3838, allocations: 130.9 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3839, allocations: 0 / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3839, allocations: 384 / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3839, allocations: 0 / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3843, allocations: 358.9 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3843, allocations: 4 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.3844, allocations: 8 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3844, allocations: 4 kB / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3844, allocations: 0 / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3844, allocations: 3.938 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3844, allocations: 7.938 kB / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3847, allocations: 216.2 kB / 0.5646 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.3847, allocations: 15.91 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3847, allocations: 0 / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.3848, allocations: 8.031 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3848, allocations: 7.922 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3849, allocations: 8 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3851, allocations: 177.1 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3853, allocations: 23.94 kB / 0.5649 GB, free: 392 kB / 398.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.001889/0.3872, allocations: 0.4884 MB / 0.5653 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3874, allocations: 63.92 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3874, allocations: 0 / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.3875, allocations: 27.92 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3879, allocations: 40.38 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.3885, allocations: 277.2 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3886, allocations: 100.7 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.3887, allocations: 15.44 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3887, allocations: 0 / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004584/0.3932, allocations: 2.046 MB / 0.5678 GB, free: 13.49 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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: 7.939789961092174]