Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001555/0.001555, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001228/0.001228, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2988/0.2988, allocations: 34.27 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.769e-05, allocations: 2.312 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002798/0.002816, allocations: 1.761 MB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004377, allocations: 1.001 MB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.004468, allocations: 0 / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.004786, allocations: 43.7 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.005117, allocations: 91.59 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.005315, allocations: 83.59 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.005499, allocations: 103.6 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.00559, allocations: 11.94 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.005977, allocations: 59.81 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.006046, allocations: 23.92 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.006061, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.006137, allocations: 47.91 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.006185, allocations: 19.92 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.006224, allocations: 19.88 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.006389, allocations: 99.59 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006392, allocations: 3.984 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006393, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.006397, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004255/0.006822, allocations: 435.9 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.00686, allocations: 8.031 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.006905, allocations: 16.89 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.007066, allocations: 152.3 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.007081, allocations: 384 / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.0071, allocations: 8.359 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.007216, allocations: 62.88 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007226, allocations: 7.938 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.007235, allocations: 3.984 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007241, allocations: 0 / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.007276, allocations: 16 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.007553, allocations: 279.8 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.007653, allocations: 51.11 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.007685, allocations: 27.61 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.007696, allocations: 3.938 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.504e-05/0.007791, allocations: 69 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.007792, allocations: 0 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000366/0.008158, allocations: 153.4 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.008188, allocations: 55.41 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.00831, allocations: 218.5 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.008324, allocations: 33.7 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.008376, allocations: 142.9 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.008403, allocations: 27.78 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.008434, allocations: 23.38 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.00855, allocations: 0.4962 MB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.008576, allocations: 19.92 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.008609, allocations: 31.36 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.008665, allocations: 51.31 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.008665, allocations: 4 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001028/0.008768, allocations: 89.59 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.008784, allocations: 9.875 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008789, allocations: 0 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.008801, allocations: 3.984 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.008866, allocations: 12 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.00887, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.008897, allocations: 4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.008905, allocations: 4 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.324e-05/0.008978, allocations: 176.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.008995, allocations: 11.95 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.009133, allocations: 102.4 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009135, allocations: 0 / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.00914, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.009143, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.009414, allocations: 388.9 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009416, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.009442, allocations: 12.38 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009444, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.009452, allocations: 4.031 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.009456, allocations: 7.984 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.009458, allocations: 4 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009609, allocations: 259.4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.00962, allocations: 7.953 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.009637, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.009677, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.009717, allocations: 7.984 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.009733, allocations: 8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.00981, allocations: 167.9 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00981, allocations: 4 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.009992, allocations: 23.92 kB / 385.1 MB, free: 11.54 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001003/0.01099, allocations: 435.5 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.01113, allocations: 59.58 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01113, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.01118, allocations: 31.67 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.01142, allocations: 35.92 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.01177, allocations: 214.4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.01181, allocations: 67.34 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.01184, allocations: 12.97 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01188, allocations: 20.5 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01188, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003532/0.01541, allocations: 1.856 MB / 387.8 MB, free: 8.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.28478922508657]