Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001714/0.001714, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002243/0.002243, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2402/0.2402, allocations: 46.95 MB / 361.6 MB, free: 4.281 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.91 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3839, allocations: 66.03 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00371/0.3877, allocations: 1.99 MB / 0.5639 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3898, allocations: 1.225 MB / 0.5651 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3899, allocations: 3.938 kB / 0.5651 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.3907, allocations: 199.4 kB / 0.5653 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.3911, allocations: 207.2 kB / 0.5655 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.3916, allocations: 163.5 kB / 0.5656 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.3919, allocations: 271.2 kB / 0.5659 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.392, allocations: 16.59 kB / 0.5659 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3922, allocations: 123.5 kB / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3924, allocations: 119.5 kB / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3924, allocations: 12 kB / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3926, allocations: 63.89 kB / 0.5662 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.3927, allocations: 59.89 kB / 0.5663 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3928, allocations: 83.42 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.3932, allocations: 249.3 kB / 0.5666 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3932, allocations: 0 / 0.5666 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3932, allocations: 0 / 0.5666 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3932, allocations: 0 / 0.5666 GB, free: 15.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009381/0.3941, allocations: 0.4983 MB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3941, allocations: 8.031 kB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.3942, allocations: 24.8 kB / 0.5671 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3946, allocations: 234.6 kB / 0.5673 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3946, allocations: 384 / 0.5673 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.3946, allocations: 8.125 kB / 0.5673 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3949, allocations: 108.2 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3949, allocations: 3.984 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3949, allocations: 7.938 kB / 0.5674 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3949, allocations: 7.938 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.395, allocations: 31.98 kB / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3956, allocations: 364.5 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3959, allocations: 109.2 kB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.396, allocations: 41.7 kB / 0.568 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.396, allocations: 4 kB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.3962, allocations: 113.1 kB / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3962, allocations: 0 / 0.5681 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004716/0.3967, allocations: 177.4 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.3968, allocations: 110.8 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.3972, allocations: 356.5 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3973, allocations: 29.7 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3974, allocations: 140.1 kB / 0.5689 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.3974, allocations: 35.73 kB / 0.5689 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.3975, allocations: 33.66 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.3977, allocations: 346.7 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.3978, allocations: 27.98 kB / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3979, allocations: 77.14 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3981, allocations: 95.84 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3981, allocations: 4 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002791/0.3984, allocations: 149.5 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3984, allocations: 4 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3984, allocations: 0 / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3984, allocations: 4 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3985, allocations: 23.92 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3985, allocations: 4 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.3986, allocations: 15.88 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3986, allocations: 11.94 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001452/0.3988, allocations: 145.9 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3988, allocations: 31.75 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.3992, allocations: 167.4 kB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3992, allocations: 0 / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3992, allocations: 0 / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3992, allocations: 0 / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.3995, allocations: 232.6 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3995, allocations: 0 / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.3995, allocations: 12.19 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3995, allocations: 4 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3995, allocations: 15.97 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3995, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3995, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3998, allocations: 185.6 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3999, allocations: 31.78 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3999, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.4, allocations: 12 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.4, allocations: 7.984 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.4001, allocations: 15.86 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.4004, allocations: 267 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4004, allocations: 0 / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.4006, allocations: 36 kB / 0.5708 GB, free: 11 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001531/0.4021, allocations: 426.9 kB / 0.5712 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.4024, allocations: 83.91 kB / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4024, allocations: 0 / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4025, allocations: 47.86 kB / 0.5713 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4029, allocations: 72.31 kB / 0.5714 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.4037, allocations: 425.9 kB / 0.5718 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.4041, allocations: 0.7481 MB / 0.5725 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.4041, allocations: 35.36 kB / 0.5725 GB, free: 9.293 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4041, allocations: 0 / 0.5725 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Templates: time 0.006071/0.4102, allocations: 3.344 MB / 0.5758 GB, free: 5.953 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 8.327161115128547]