Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001582/0.001582, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001888/0.001888, allocations: 210.9 kB / 24.48 MB, free: 3.977 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.6/1.6, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2509/0.2509, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 66.03 MB / 0.5619 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003319/0.3678, allocations: 1.718 MB / 0.5636 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3697, allocations: 0.9977 MB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.3697, allocations: 0 / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.37, allocations: 39.78 kB / 0.5646 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.3704, allocations: 95.59 kB / 0.5647 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.3706, allocations: 79.67 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3708, allocations: 115.6 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.3709, allocations: 11.98 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.371, allocations: 47.78 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.3711, allocations: 43.83 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3711, allocations: 4 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.3713, allocations: 111.9 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.3714, allocations: 23.92 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.3714, allocations: 31.78 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.3718, allocations: 173.7 kB / 0.5653 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3718, allocations: 4 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3718, allocations: 0 / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3718, allocations: 0 / 0.5653 GB, free: 0.6914 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.0006304/0.3724, allocations: 365.4 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3724, allocations: 8.031 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.3725, allocations: 12.89 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3728, allocations: 152 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3728, allocations: 4.375 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3728, allocations: 4.125 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3731, allocations: 97.03 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3731, allocations: 0 / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3731, allocations: 4 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3731, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.3732, allocations: 27.97 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.3735, allocations: 228.5 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3737, allocations: 66.55 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.3738, allocations: 28.95 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3738, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.374, allocations: 71.39 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.374, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006673/0.3747, allocations: 217.2 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3747, allocations: 81.05 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3749, allocations: 173.9 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.375, allocations: 29.7 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.375, allocations: 96.12 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3751, allocations: 35.73 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3751, allocations: 25.7 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3753, allocations: 330.8 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.3754, allocations: 27.98 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3755, allocations: 92.19 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3757, allocations: 81.67 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3757, allocations: 0 / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002358/0.3759, allocations: 121.6 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3759, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3759, allocations: 4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3759, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3761, allocations: 27.92 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3761, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.3761, allocations: 8 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3761, allocations: 11.95 kB / 0.5676 GB, free: 14.09 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 (13): * Single equations (assignments): 13 * 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.0001206/0.3763, allocations: 125.8 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3763, allocations: 15.91 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.3766, allocations: 130.3 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3766, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3766, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3766, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3772, allocations: 371 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3772, allocations: 4.125 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3772, allocations: 19.88 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3772, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3772, allocations: 7.938 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3773, allocations: 3.984 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3773, allocations: 0 / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3776, allocations: 224.3 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3776, allocations: 15.89 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3776, allocations: 3.938 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.3777, allocations: 8 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3778, allocations: 15.92 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3778, allocations: 4 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3779, allocations: 135.2 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.3782, allocations: 47.88 kB / 0.5687 GB, free: 12.9 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.002144/0.3804, allocations: 0.5913 MB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3806, allocations: 83.83 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3806, allocations: 0 / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.3807, allocations: 43.86 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3811, allocations: 30.36 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.3816, allocations: 226.7 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.3817, allocations: 89.44 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.3818, allocations: 24.62 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.3819, allocations: 27.36 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3819, allocations: 0 / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.006836/0.3887, allocations: 2.713 MB / 0.5724 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.486076187007711]