Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009879/0.0009879, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009582/0.0009582, allocations: 172.4 kB / 25.62 MB, free: 8.895 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 0.998/0.998, allocations: 177.2 MB / 206.1 MB, free: 4.52 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.1564/0.1564, allocations: 32.81 MB / 295.4 MB, free: 15.4 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.703e-05, allocations: 5.969 kB / 377.4 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00266/0.002677, allocations: 1.75 MB / 379.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004172, allocations: 0.9897 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.004254, allocations: 3.938 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.004531, allocations: 55.75 kB / 380.2 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.004829, allocations: 95.47 kB / 380.3 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.005025, allocations: 83.61 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.005172, allocations: 107.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.005251, allocations: 7.984 kB / 380.5 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.005344, allocations: 59.77 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.005417, allocations: 27.91 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.005432, allocations: 8 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.005524, allocations: 43.92 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.005576, allocations: 31.91 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.005621, allocations: 19.88 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005807, allocations: 111.6 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005808, allocations: 3.938 kB / 380.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005809, allocations: 0 / 380.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.005813, allocations: 4 kB / 380.8 MB, free: 22.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003771/0.00619, allocations: 475.6 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.006219, allocations: 11.98 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.006259, allocations: 20.84 kB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.006405, allocations: 161.3 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.006419, allocations: 4.359 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.006435, allocations: 8.359 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.006526, allocations: 58.94 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.006537, allocations: 7.922 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.006544, allocations: 7.938 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.00655, allocations: 0 / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.00658, allocations: 7.984 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.006812, allocations: 268.4 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.006903, allocations: 47.17 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.006929, allocations: 23.61 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.00694, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/0.007018, allocations: 64.97 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007019, allocations: 4 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003124/0.007331, allocations: 141.4 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.007353, allocations: 51.41 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.007508, allocations: 274.6 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.007517, allocations: 25.7 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.007576, allocations: 170.8 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.007605, allocations: 27.78 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.007653, allocations: 31.36 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.00772, allocations: 0.5079 MB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.00774, allocations: 4 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.007773, allocations: 35.67 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.007827, allocations: 43.34 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007828, allocations: 0 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.007941, allocations: 101.5 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.007952, allocations: 8 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007956, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.007964, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.008032, allocations: 15.98 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.008035, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.008073, allocations: 4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008079, allocations: 160 / 383.3 MB, free: 19.32 MB / 314.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 5.914e-05/0.008138, allocations: 164.5 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.008164, allocations: 23.84 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.008321, allocations: 107.1 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008323, allocations: 0 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.008325, allocations: 3.938 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008328, allocations: 0 / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.008633, allocations: 369.6 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.008636, allocations: 3.938 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.008671, allocations: 8 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.008674, allocations: 4 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.008684, allocations: 7.984 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008685, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008688, allocations: 8.031 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.008852, allocations: 251.7 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.008875, allocations: 15.91 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.008899, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.008968, allocations: 7.938 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.008998, allocations: 7.984 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.009011, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.992e-05/0.009111, allocations: 188.5 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009111, allocations: 4 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000303/0.009414, allocations: 23.94 kB / 384.5 MB, free: 18.06 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: 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.001284/0.0107, allocations: 438.4 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01081, allocations: 51.53 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01081, allocations: 0 / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.01085, allocations: 39.59 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.01119, allocations: 46.86 kB / 385.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.0116, allocations: 260.4 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.01165, allocations: 75.31 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.01169, allocations: 20.97 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.01177, allocations: 90.19 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01177, allocations: 0 / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of Templates: time 0.004605/0.01638, allocations: 2.072 MB / 387.6 MB, free: 15.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.092837415635586]