Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001757/0.001757, 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.002142/0.002142, allocations: 213.9 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.548/1.548, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.2463/0.2463, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.91 kB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 66.04 MB / 0.5619 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003228/0.379, allocations: 1.666 MB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3807, allocations: 0.9559 MB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.3808, allocations: 0 / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.3811, allocations: 55.75 kB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3814, allocations: 95.59 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.3816, allocations: 75.67 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3818, allocations: 99.69 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.3818, allocations: 12.22 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.3819, allocations: 43.78 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.382, allocations: 35.78 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.382, allocations: 0 / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.3821, allocations: 36 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.3822, allocations: 31.83 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.3822, allocations: 31.75 kB / 0.5649 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3824, allocations: 121.8 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3824, allocations: 4 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3824, allocations: 0 / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3824, allocations: 0 / 0.5651 GB, free: 0.8438 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005982/0.383, allocations: 365.4 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3831, allocations: 16.02 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3831, allocations: 8.891 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3834, allocations: 167.2 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3834, allocations: 384 / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3834, allocations: 4.125 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3835, allocations: 53.67 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3836, allocations: 0 / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3836, allocations: 4 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3836, allocations: 0 / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.3836, allocations: 23.92 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.3839, allocations: 137.4 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.384, allocations: 54.62 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.3841, allocations: 24.78 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3841, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3843, allocations: 63.33 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.3843, allocations: 0 / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003042/0.3846, allocations: 113.5 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.3847, allocations: 51.41 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.385, allocations: 274.8 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.385, allocations: 29.64 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.3851, allocations: 120.1 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3851, allocations: 15.89 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3852, allocations: 17.72 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3853, allocations: 326.8 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.3854, allocations: 15.98 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.3854, allocations: 37.69 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3855, allocations: 49.64 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3855, allocations: 0 / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001749/0.3857, allocations: 89.47 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3857, allocations: 8.031 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3857, allocations: 4 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3857, allocations: 0 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.3858, allocations: 11.98 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3858, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.3859, allocations: 11.89 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3859, allocations: 0 / 0.5671 GB, free: 14.59 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 (7): * Single equations (assignments): 7 * 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.0001183/0.386, allocations: 133.8 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.386, allocations: 19.84 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.3863, allocations: 111 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3863, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3863, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3863, allocations: 0 / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3864, allocations: 145.2 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3864, allocations: 0 / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.3865, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3865, allocations: 3.938 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3865, allocations: 4 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3865, allocations: 0 / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3865, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.3867, allocations: 125 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.3867, allocations: 19.83 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3867, allocations: 4 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.3868, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3868, allocations: 7.984 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3868, allocations: 7.938 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.387, allocations: 204.5 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3872, allocations: 23.98 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001615/0.3889, allocations: 432.7 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3891, allocations: 43.92 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3891, allocations: 0 / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.3891, allocations: 19.98 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3894, allocations: 42.45 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.3901, allocations: 278.4 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3902, allocations: 105.8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.951e-05/0.3902, allocations: 12.48 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3903, allocations: 11.44 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3903, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Templates: time 0.005379/0.3956, allocations: 1.743 MB / 0.5704 GB, free: 11.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.2941143850039225]