Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001361/0.001361, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.0016/0.0016, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.492/1.492, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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.2443/0.2443, allocations: 34.27 MB / 295.5 MB, free: 14.62 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003433/0.003433, allocations: 71.89 kB / 443.2 MB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3875, allocations: 66 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002883/0.3904, allocations: 1.889 MB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3919, allocations: 1.077 MB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.392, allocations: 3.938 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.3924, allocations: 219.2 kB / 0.5004 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.3928, allocations: 220.6 kB / 0.5006 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.393, allocations: 116.3 kB / 0.5007 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3933, allocations: 260.3 kB / 0.501 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3934, allocations: 18.81 kB / 0.501 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3935, allocations: 123 kB / 0.5011 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3937, allocations: 166.5 kB / 0.5013 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.3937, allocations: 9.781 kB / 0.5013 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3938, allocations: 71.61 kB / 0.5013 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.3939, allocations: 58.89 kB / 0.5014 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.394, allocations: 74.22 kB / 0.5015 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.3943, allocations: 245.3 kB / 0.5017 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3943, allocations: 3.938 kB / 0.5017 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3943, allocations: 3.344 kB / 0.5017 GB, free: 27.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3943, allocations: 0 / 0.5017 GB, free: 27.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006587/0.3949, allocations: 0.4905 MB / 0.5022 GB, free: 26.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.395, allocations: 9.844 kB / 0.5022 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.395, allocations: 33.47 kB / 0.5022 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3954, allocations: 232.5 kB / 0.5025 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3954, allocations: 7.5 kB / 0.5025 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3954, allocations: 11.53 kB / 0.5025 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3956, allocations: 115.2 kB / 0.5026 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3957, allocations: 0 / 0.5026 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3957, allocations: 4 kB / 0.5026 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3957, allocations: 3.125 kB / 0.5026 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3958, allocations: 52.7 kB / 0.5026 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.3963, allocations: 412.9 kB / 0.503 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.3967, allocations: 122.1 kB / 0.5031 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.3968, allocations: 46.72 kB / 0.5032 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3968, allocations: 3.281 kB / 0.5032 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.397, allocations: 119.7 kB / 0.5033 GB, free: 26.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.397, allocations: 0 / 0.5033 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001203/0.3982, allocations: 0.5136 MB / 0.5038 GB, free: 25.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3982, allocations: 87.36 kB / 0.5039 GB, free: 25.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3986, allocations: 457.1 kB / 0.5043 GB, free: 25.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3986, allocations: 32.7 kB / 0.5044 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3987, allocations: 166 kB / 0.5045 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.3988, allocations: 74.42 kB / 0.5046 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.3989, allocations: 44.17 kB / 0.5046 GB, free: 25.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3991, allocations: 345 kB / 0.505 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3992, allocations: 59.95 kB / 0.505 GB, free: 24.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3993, allocations: 95.78 kB / 0.5051 GB, free: 24.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3996, allocations: 170.6 kB / 0.5053 GB, free: 24.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3996, allocations: 0 / 0.5053 GB, free: 24.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000359/0.4, allocations: 239.3 kB / 0.5055 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4, allocations: 8.312 kB / 0.5055 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4, allocations: 7 kB / 0.5055 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4, allocations: 0 / 0.5055 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4001, allocations: 44.23 kB / 0.5056 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4001, allocations: 4.328 kB / 0.5056 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.4002, allocations: 17.77 kB / 0.5056 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.4002, allocations: 10.47 kB / 0.5056 GB, free: 24.61 MB / 446.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001288/0.4004, allocations: 170.5 kB / 0.5058 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.4004, allocations: 28.31 kB / 0.5058 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.4009, allocations: 293.5 kB / 0.5061 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.4009, allocations: 3.156 kB / 0.5061 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4009, allocations: 0 / 0.5061 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4009, allocations: 3.422 kB / 0.5061 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.4016, allocations: 0.6795 MB / 0.5067 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4016, allocations: 2.969 kB / 0.5067 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.4017, allocations: 41.78 kB / 0.5068 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4017, allocations: 2.969 kB / 0.5068 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4017, allocations: 7.094 kB / 0.5068 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4017, allocations: 2.938 kB / 0.5068 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4017, allocations: 0 / 0.5068 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.4021, allocations: 453.7 kB / 0.5072 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.4021, allocations: 28.61 kB / 0.5072 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.4022, allocations: 10.19 kB / 0.5073 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4023, allocations: 10.83 kB / 0.5073 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.4024, allocations: 24.16 kB / 0.5073 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.4024, allocations: 9.5 kB / 0.5073 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.4027, allocations: 340.9 kB / 0.5076 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 0 / 0.5076 GB, free: 23.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.403, allocations: 48.53 kB / 0.5077 GB, free: 23.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002023/0.405, allocations: 0.5531 MB / 0.5082 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.4054, allocations: 159.1 kB / 0.5084 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4054, allocations: 0 / 0.5084 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4055, allocations: 82.06 kB / 0.5084 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.406, allocations: 66.2 kB / 0.5085 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.4068, allocations: 0.582 MB / 0.5091 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.4069, allocations: 166 kB / 0.5092 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.407, allocations: 37.55 kB / 0.5093 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.4071, allocations: 34.11 kB / 0.5093 GB, free: 22.53 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4071, allocations: 3.031 kB / 0.5093 GB, free: 22.53 MB / 446.1 MB Notification: Performance of Templates: time 0.007568/0.4146, allocations: 3.305 MB / 0.5125 GB, free: 22.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.203418271034025]