Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001033/0.001033, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001273/0.001273, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1605/0.1605, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.546e-05, allocations: 2.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002319/0.002345, allocations: 1.824 MB / 379.2 MB, free: 23.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004002, allocations: 1.792 MB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.004103, allocations: 4 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.004394, allocations: 47.64 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.004761, allocations: 147.2 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.004963, allocations: 107.6 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.005145, allocations: 211.2 kB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.005192, allocations: 17.75 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005307, allocations: 107.7 kB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.00544, allocations: 63.8 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.00546, allocations: 8 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.005612, allocations: 115.8 kB / 381.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.005665, allocations: 39.83 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.005704, allocations: 35.86 kB / 381.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.005928, allocations: 203.2 kB / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00593, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005931, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005935, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004054/0.006341, allocations: 0.5226 MB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.006373, allocations: 11.98 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.006419, allocations: 16.84 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.006582, allocations: 192.2 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.0066, allocations: 8.359 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.006611, allocations: 12.36 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.006747, allocations: 165 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.006754, allocations: 3.938 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.006763, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.006768, allocations: 4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.006798, allocations: 19.92 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.00691, allocations: 136.9 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.007011, allocations: 86.16 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.007038, allocations: 31.36 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.007051, allocations: 4 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.007155, allocations: 108.3 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.007156, allocations: 4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001973/0.007354, allocations: 137.4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.007385, allocations: 128.5 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007509, allocations: 282.5 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.007524, allocations: 33.69 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.007563, allocations: 166.8 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.007595, allocations: 23.84 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.007629, allocations: 35.36 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.007684, allocations: 0.5001 MB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.007704, allocations: 15.98 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.007752, allocations: 121.5 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.007807, allocations: 75.16 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.007811, allocations: 0 / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001163/0.007927, allocations: 125.3 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007939, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.007945, allocations: 0 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007956, allocations: 8.031 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.008026, allocations: 23.98 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.00803, allocations: 4 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.008083, allocations: 7.938 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.00809, allocations: 4 kB / 385 MB, free: 17.45 MB / 314.7 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.558e-05/0.008155, allocations: 168.5 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.008181, allocations: 27.86 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.008323, allocations: 130.7 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008325, allocations: 3.938 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008327, allocations: 0 / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008331, allocations: 4 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.008416, allocations: 141.2 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.008418, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.008444, allocations: 8 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008447, allocations: 7.984 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008454, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008455, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008456, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.008578, allocations: 183.7 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.008598, allocations: 23.83 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.008619, allocations: 12 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.008655, allocations: 4 kB / 385.7 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.008687, allocations: 19.91 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.0087, allocations: 4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.008767, allocations: 193.7 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008767, allocations: 0 / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.008962, allocations: 55.86 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0009755/0.009938, allocations: 491 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.01007, allocations: 63.53 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01007, allocations: 4 kB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.01011, allocations: 39.59 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01037, allocations: 79.3 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.01081, allocations: 284.3 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.01084, allocations: 79.78 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.01091, allocations: 25.47 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01102, allocations: 126.1 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01102, allocations: 0 / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of Templates: time 0.005116/0.01614, allocations: 3.82 MB / 391 MB, free: 11.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.472658659797162]