Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001798/0.001798, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002472/0.002472, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2447/0.2447, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [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.002082/0.002082, allocations: 71.89 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 65.48 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003526/0.3773, allocations: 1.698 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3792, allocations: 0.9702 MB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.3793, allocations: 4 kB / 0.5601 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.3796, allocations: 43.77 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.3799, allocations: 99.59 kB / 0.5603 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3801, allocations: 75.67 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3803, allocations: 111.6 kB / 0.5604 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3804, allocations: 7.984 kB / 0.5605 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.3805, allocations: 43.8 kB / 0.5605 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.3806, allocations: 39.7 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3806, allocations: 4 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.3807, allocations: 39.98 kB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.3808, allocations: 19.92 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3808, allocations: 31.8 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.381, allocations: 129.8 kB / 0.5608 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.381, allocations: 0 / 0.5608 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3811, allocations: 0 / 0.5608 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3811, allocations: 0 / 0.5608 GB, free: 4.129 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.000576/0.3816, allocations: 341.6 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3817, allocations: 12.03 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3817, allocations: 16.83 kB / 0.5611 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.382, allocations: 147 kB / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.382, allocations: 384 / 0.5612 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.382, allocations: 16.11 kB / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3822, allocations: 57.61 kB / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3822, allocations: 0 / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3822, allocations: 8 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3822, allocations: 0 / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.3823, allocations: 19.98 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.3827, allocations: 236.5 kB / 0.5616 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3829, allocations: 62.59 kB / 0.5616 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.3829, allocations: 16.86 kB / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3829, allocations: 4 kB / 0.5616 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.3831, allocations: 71.38 kB / 0.5617 GB, free: 3.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3831, allocations: 0 / 0.5617 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005882/0.3837, allocations: 185.3 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3837, allocations: 51.41 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3839, allocations: 202.3 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.384, allocations: 25.7 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.384, allocations: 108.1 kB / 0.5623 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.3841, allocations: 23.8 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3841, allocations: 25.7 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3843, allocations: 334.8 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.3843, allocations: 19.98 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.3844, allocations: 37.64 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3845, allocations: 65.88 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3845, allocations: 0 / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.3847, allocations: 113.5 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3847, allocations: 4 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3848, allocations: 4 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3848, allocations: 4.031 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.3849, allocations: 15.98 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3849, allocations: 0 / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.3849, allocations: 4 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3849, allocations: 4 kB / 0.5629 GB, free: 1.754 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.0001176/0.385, allocations: 137.6 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3851, allocations: 11.91 kB / 0.563 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.3853, allocations: 123 kB / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3853, allocations: 0 / 0.5631 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3853, allocations: 4 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3854, allocations: 3.984 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3858, allocations: 347.3 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3858, allocations: 0 / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.3859, allocations: 19.98 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3859, allocations: 0 / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3859, allocations: 4 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3859, allocations: 0 / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3859, allocations: 3.938 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.3862, allocations: 212.2 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3862, allocations: 15.97 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3862, allocations: 4 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3863, allocations: 4 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3863, allocations: 11.92 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3863, allocations: 4 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3865, allocations: 156.2 kB / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3868, allocations: 27.94 kB / 0.5639 GB, free: 0.6016 MB / 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.00188/0.3886, allocations: 496.5 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3888, allocations: 51.98 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3889, allocations: 4 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.3889, allocations: 31.92 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3893, allocations: 44.08 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3899, allocations: 234.7 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.39, allocations: 96.17 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.39, allocations: 8.984 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.39, allocations: 23.36 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3901, allocations: 4 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.005615/0.3957, allocations: 1.907 MB / 0.5667 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.380679056048393]