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.001272/0.001272, 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.001427/0.001427, allocations: 206.6 kB / 24.47 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2409/0.2409, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.002126/0.002126, allocations: 67.91 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003777/0.399, allocations: 1.929 MB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4011, allocations: 1.139 MB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4012, allocations: 0 / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.402, allocations: 199.3 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.4025, allocations: 211.3 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.4029, allocations: 163.3 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.4032, allocations: 275.2 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.4034, allocations: 20.58 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4035, allocations: 111.5 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4037, allocations: 119.6 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.4037, allocations: 12 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.4039, allocations: 71.83 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.404, allocations: 55.78 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.4041, allocations: 63.53 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.4045, allocations: 257.3 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4045, allocations: 0 / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4045, allocations: 4 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4045, allocations: 0 / 0.5664 GB, free: 15.55 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.0009785/0.4055, allocations: 490.4 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4055, allocations: 12.03 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.4056, allocations: 28.8 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.406, allocations: 238.5 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.406, allocations: 4.375 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.406, allocations: 12.11 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.4063, allocations: 95.36 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4063, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4063, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4063, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.4065, allocations: 47.89 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.407, allocations: 313.2 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.4074, allocations: 129.2 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.4075, allocations: 41.64 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4075, allocations: 4 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.4077, allocations: 117 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.4077, allocations: 0 / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000514/0.4082, allocations: 193.4 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.4083, allocations: 81.11 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.4087, allocations: 364.5 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4088, allocations: 29.64 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4089, allocations: 144.2 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.4089, allocations: 31.73 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.409, allocations: 29.72 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4092, allocations: 346.7 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4093, allocations: 31.98 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.4094, allocations: 97.97 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.4097, allocations: 103.9 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4097, allocations: 0 / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003187/0.41, allocations: 153.5 kB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.41, allocations: 7.938 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.41, allocations: 3.984 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.41, allocations: 4 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4101, allocations: 16 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4102, allocations: 8.062 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4102, allocations: 15.94 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.4103, allocations: 4 kB / 0.5694 GB, free: 12.16 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.0001772/0.4104, allocations: 161.6 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.4105, allocations: 27.81 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.4109, allocations: 175.4 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4109, allocations: 4 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4109, allocations: 0 / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4109, allocations: 4 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4111, allocations: 189.2 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4111, allocations: 0 / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.4112, allocations: 15.98 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4112, allocations: 0 / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4112, allocations: 0 / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4112, allocations: 4 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4112, allocations: 0 / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.4116, allocations: 209.8 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.4116, allocations: 23.86 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.4116, allocations: 7.984 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.4117, allocations: 8 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.4118, allocations: 11.98 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4118, allocations: 15.92 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.4121, allocations: 267 kB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4121, allocations: 0 / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.4124, allocations: 39.94 kB / 0.5705 GB, free: 10.95 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 (13): * Single equations (assignments): 9 * 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.001681/0.4141, allocations: 444.4 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.4144, allocations: 103.8 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4144, allocations: 3.938 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.4145, allocations: 47.98 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.4149, allocations: 65.77 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.4157, allocations: 412.3 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.4158, allocations: 141 kB / 0.5717 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.4159, allocations: 34.08 kB / 0.5717 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.416, allocations: 19.44 kB / 0.5717 GB, free: 9.844 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.416, allocations: 0 / 0.5717 GB, free: 9.844 MB / 414.1 MB Notification: Performance of Templates: time 0.008/0.424, allocations: 3.408 MB / 0.5751 GB, free: 6.48 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 -s cvode -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: 5.357791652000742]