Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001891/0.001891, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.00235/0.00235, allocations: 163.6 kB / 23.95 MB, free: 4.168 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.547/1.547, allocations: 177.2 MB / 204.3 MB, free: 9.195 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.2253/0.2253, allocations: 34.29 MB / 295 MB, free: 14.59 MB / 286.1 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.963e-05, allocations: 2.281 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003413/0.003443, allocations: 1.716 MB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.00537, allocations: 0.9703 MB / 445.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.005446, allocations: 3.938 kB / 445.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.005738, allocations: 39.81 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.006067, allocations: 99.53 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.006292, allocations: 79.55 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.006496, allocations: 111.6 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.006595, allocations: 7.984 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.00671, allocations: 55.83 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.00679, allocations: 27.92 kB / 445.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.006812, allocations: 4 kB / 445.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006915, allocations: 43.97 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.006978, allocations: 23.92 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.007026, allocations: 19.92 kB / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.007271, allocations: 119.5 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.007277, allocations: 4 kB / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.007278, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.007288, allocations: 0 / 446.1 MB, free: 2 MB / 366.1 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.0005865/0.007874, allocations: 345.6 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.007908, allocations: 12.03 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.007955, allocations: 12.84 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.008211, allocations: 150.3 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.008227, allocations: 4.375 kB / 446.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.00825, allocations: 4.312 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.008418, allocations: 66.16 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.008432, allocations: 3.938 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.008442, allocations: 0 / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.008446, allocations: 0 / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.00853, allocations: 23.98 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.008905, allocations: 236.5 kB / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.009112, allocations: 62.61 kB / 447 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.009174, allocations: 20.8 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.009188, allocations: 0 / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.009352, allocations: 79.3 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.009353, allocations: 0 / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006249/0.009978, allocations: 185.5 kB / 447.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.01002, allocations: 51.41 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.01025, allocations: 206.2 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.01027, allocations: 29.7 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.01034, allocations: 104.1 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.01037, allocations: 23.8 kB / 447.7 MB, free: 268 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.01042, allocations: 25.7 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1901/0.2005, allocations: 319.8 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2006, allocations: 21.09 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.2007, allocations: 39.12 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2009, allocations: 62.23 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2009, allocations: 2.406 kB / 448.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002361/0.2011, allocations: 106.3 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2011, allocations: 6.375 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2011, allocations: 3.75 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2011, allocations: 1.156 kB / 448.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2012, allocations: 18.53 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2012, allocations: 4.359 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.2013, allocations: 6.141 kB / 448.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2013, allocations: 3.312 kB / 448.3 MB, free: 19 MB / 366.1 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 8.74e-05/0.2014, allocations: 125.2 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2014, allocations: 10.39 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.2017, allocations: 126.9 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2017, allocations: 1.891 kB / 448.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2017, allocations: 3.938 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2017, allocations: 5.672 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.2021, allocations: 339.2 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2021, allocations: 7.375 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.2022, allocations: 10.67 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2022, allocations: 1.125 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2022, allocations: 9.859 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2022, allocations: 2 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2022, allocations: 0 / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2024, allocations: 213.6 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.2024, allocations: 11.27 kB / 449.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.2025, allocations: 8.594 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.2025, allocations: 11.06 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.2026, allocations: 6.656 kB / 449.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2026, allocations: 4.281 kB / 449.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2027, allocations: 150.1 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2027, allocations: 1.031 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.203, allocations: 29.28 kB / 449.3 MB, free: 18.39 MB / 366.1 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.001825/0.2048, allocations: 496.1 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.205, allocations: 65.38 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.205, allocations: 3.938 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.2051, allocations: 36.88 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2054, allocations: 23 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.2059, allocations: 241.4 kB / 450.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.2059, allocations: 93.64 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.762e-05/0.206, allocations: 17.3 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.206, allocations: 18.27 kB / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.206, allocations: 0 / 450.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of Templates: time 0.005255/0.2113, allocations: 1.847 MB / 452.1 MB, free: 17.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.002009525895119]