Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001957/0.001957, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002505/0.002505, allocations: 210.9 kB / 23.73 MB, free: 4.387 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 / 257.5 MB, free: 7.805 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.2461/0.2461, allocations: 46.96 MB / 360.9 MB, free: 4.062 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 63.91 kB / 0.4967 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3692, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003191/0.3724, allocations: 1.71 MB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.375, allocations: 1.661 MB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.375, allocations: 0 / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.3753, allocations: 43.77 kB / 0.5645 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3756, allocations: 99.53 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.3759, allocations: 83.66 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.376, allocations: 111.7 kB / 0.5648 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.3761, allocations: 7.984 kB / 0.5648 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.3762, allocations: 51.78 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3764, allocations: 47.7 kB / 0.5649 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3764, allocations: 8 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.3766, allocations: 107.9 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.3766, allocations: 23.92 kB / 0.565 GB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.3767, allocations: 31.73 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.377, allocations: 181.8 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.377, allocations: 0 / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.377, allocations: 0 / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.377, allocations: 0 / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005997/0.3776, allocations: 365.4 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3776, allocations: 8.031 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3777, allocations: 16.89 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3779, allocations: 159.9 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.378, allocations: 384 / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.378, allocations: 12.12 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3782, allocations: 101.1 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3782, allocations: 7.953 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3782, allocations: 0 / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3782, allocations: 0 / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3783, allocations: 31.97 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3787, allocations: 244.4 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3789, allocations: 78.66 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.379, allocations: 24.84 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.379, allocations: 0 / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3792, allocations: 75.33 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3792, allocations: 0 / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006592/0.3798, allocations: 217.7 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3799, allocations: 77.11 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3801, allocations: 182.2 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3801, allocations: 29.7 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.3802, allocations: 100.1 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.3802, allocations: 31.75 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.3803, allocations: 29.7 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3804, allocations: 322.8 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.3805, allocations: 27.98 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3806, allocations: 80.2 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3808, allocations: 73.64 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3808, allocations: 0 / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002346/0.381, allocations: 129.5 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.381, allocations: 7.984 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.381, allocations: 4 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.381, allocations: 0 / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.3811, allocations: 12 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3811, allocations: 4 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.3812, allocations: 3.984 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3812, allocations: 4.078 kB / 0.5676 GB, free: 13.39 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 (11): * Single equations (assignments): 11 * 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.0001088/0.3813, allocations: 129.9 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3813, allocations: 11.98 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.3816, allocations: 146.3 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3816, allocations: 4 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3816, allocations: 3.938 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3816, allocations: 0 / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.3822, allocations: 382.8 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3822, allocations: 3.984 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.3822, allocations: 12 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3822, allocations: 0 / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3822, allocations: 8 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3822, allocations: 4.031 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3822, allocations: 3.938 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3825, allocations: 232.3 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.3826, allocations: 15.89 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.3826, allocations: 4 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.3827, allocations: 4 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3827, allocations: 11.92 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.3827, allocations: 8 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3829, allocations: 140 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3829, allocations: 3.938 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3832, allocations: 55.86 kB / 0.5687 GB, free: 12.16 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 (11): * Single equations (assignments): 9 * 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.002119/0.3853, allocations: 0.5834 MB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3855, allocations: 75.91 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3855, allocations: 64 / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.3856, allocations: 43.92 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.386, allocations: 31.98 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.3865, allocations: 234.6 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.3866, allocations: 88.19 kB / 0.5697 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.3866, allocations: 20.7 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.3867, allocations: 23.42 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3867, allocations: 0 / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006552/0.3932, allocations: 2.682 MB / 0.5724 GB, free: 8.617 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.346742233261466]