Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.002289/0.002289, allocations: 104.3 kB / 19.7 MB, free: 2.066 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.002574/0.002574, allocations: 208.3 kB / 22.98 MB, free: 4.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 207.7 MB / 233.8 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2505/0.2505, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test77,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 74.23 kB / 468.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2097, allocations: 61.05 MB / 0.5167 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.006911/0.2166, allocations: 1.8 MB / 0.5185 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.2204, allocations: 0.8664 MB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.2206, allocations: 0 / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.2214, allocations: 155.5 kB / 0.5195 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.2221, allocations: 147.4 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.2228, allocations: 155.5 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.2234, allocations: 223.3 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2236, allocations: 17.72 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.2239, allocations: 99.61 kB / 0.5201 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.2243, allocations: 139.5 kB / 0.5202 GB, free: 3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.2244, allocations: 8 kB / 0.5202 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.2246, allocations: 43.98 kB / 0.5202 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2247, allocations: 51.78 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2249, allocations: 59.53 kB / 0.5204 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.2254, allocations: 203.1 kB / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2254, allocations: 0 / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2254, allocations: 0 / 0.5205 GB, free: 2.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.2254, allocations: 0 / 0.5205 GB, free: 2.641 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001188/0.2266, allocations: 448.8 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.2267, allocations: 8.031 kB / 0.521 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.2268, allocations: 32.73 kB / 0.521 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.2275, allocations: 209.5 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.2275, allocations: 4.375 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.2275, allocations: 8.125 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.2279, allocations: 99.34 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.228, allocations: 4 kB / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.228, allocations: 0 / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.228, allocations: 0 / 0.5213 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.2282, allocations: 47.91 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.2291, allocations: 384.6 kB / 0.5217 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.2296, allocations: 121.3 kB / 0.5219 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.2298, allocations: 37.7 kB / 0.5219 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2298, allocations: 0 / 0.5219 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.2303, allocations: 117 kB / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.715e-06/0.2303, allocations: 0 / 0.522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001741/0.232, allocations: 385.2 kB / 0.5224 GB, free: 0.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.2321, allocations: 81.11 kB / 0.5224 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2328, allocations: 364.1 kB / 0.5228 GB, free: 168 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2329, allocations: 29.7 kB / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2331, allocations: 136.5 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.2332, allocations: 55.52 kB / 0.523 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2333, allocations: 33.72 kB / 0.523 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.2335, allocations: 342.8 kB / 0.5234 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.2338, allocations: 39.98 kB / 0.5234 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.234, allocations: 71.41 kB / 0.5235 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.2345, allocations: 139.4 kB / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2345, allocations: 0 / 0.5236 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005904/0.2351, allocations: 177.4 kB / 0.5238 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.2351, allocations: 11.94 kB / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2351, allocations: 0 / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.2352, allocations: 0 / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2354, allocations: 35.98 kB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.2354, allocations: 4 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.2356, allocations: 15.92 kB / 0.5238 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.2356, allocations: 8 kB / 0.5238 GB, free: 15.03 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: 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 (20): * Single equations (assignments): 20 * 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.0002702/0.2359, allocations: 161.7 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.236, allocations: 23.86 kB / 0.524 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.2367, allocations: 215.4 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2368, allocations: 0 / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.2368, allocations: 4 kB / 0.5242 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2368, allocations: 7.938 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.2382, allocations: 0.5614 MB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.2382, allocations: 4 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2383, allocations: 23.98 kB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.2383, allocations: 3.938 kB / 0.5248 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2384, allocations: 7.984 kB / 0.5248 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.2384, allocations: 4 kB / 0.5248 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2384, allocations: 0 / 0.5248 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.2392, allocations: 388.3 kB / 0.5252 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.2393, allocations: 19.86 kB / 0.5252 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.2393, allocations: 11.94 kB / 0.5252 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2396, allocations: 7.984 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.2397, allocations: 11.98 kB / 0.5252 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.2397, allocations: 11.98 kB / 0.5253 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005151/0.2402, allocations: 271 kB / 0.5255 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2402, allocations: 0 / 0.5255 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006667/0.2409, allocations: 47.88 kB / 0.5256 GB, free: 13.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.00326/0.2442, allocations: 0.4926 MB / 0.526 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005878/0.2447, allocations: 119.8 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2448, allocations: 0 / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.245, allocations: 71.97 kB / 0.5262 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.2461, allocations: 61.36 kB / 0.5263 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2476, allocations: 441.9 kB / 0.5267 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2478, allocations: 144.9 kB / 0.5268 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.248, allocations: 37.59 kB / 0.5269 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2481, allocations: 27.44 kB / 0.5269 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2481, allocations: 0 / 0.5269 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.01344/0.2616, allocations: 3.058 MB / 0.5299 GB, free: 8.758 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.955359695479274]