Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.002037/0.002037, allocations: 84.3 kB / 20.68 MB, free: 1.039 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.002082/0.002082, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.542/1.542, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.2291/0.2291, allocations: 34.28 MB / 295 MB, free: 14.56 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.435e-05/4.697e-05, allocations: 2.281 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004063/0.00411, allocations: 1.712 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.006, allocations: 0.9703 MB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.006095, allocations: 3.938 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.00644, allocations: 87.69 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.006835, allocations: 115.5 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.007093, allocations: 79.59 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.00732, allocations: 123.6 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.007418, allocations: 7.984 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.007558, allocations: 59.83 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.007697, allocations: 55.86 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.007724, allocations: 4 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.007846, allocations: 51.92 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.007928, allocations: 27.91 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.007983, allocations: 19.88 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.008271, allocations: 123.5 kB / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.008276, allocations: 0 / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008277, allocations: 0 / 446.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.008284, allocations: 0 / 446.2 MB, free: 1.848 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.0007068/0.00899, allocations: 361.4 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.009037, allocations: 12.03 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.009099, allocations: 12.84 kB / 446.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.009391, allocations: 153.5 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.009404, allocations: 4.375 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.009435, allocations: 8.312 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.009614, allocations: 62.16 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.009632, allocations: 3.938 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.009647, allocations: 4 kB / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.009652, allocations: 0 / 446.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.009746, allocations: 19.98 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.01019, allocations: 232.6 kB / 447.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.0104, allocations: 62.61 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.01046, allocations: 28.78 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.01048, allocations: 0 / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.01065, allocations: 67.39 kB / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.01066, allocations: 0 / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007112/0.01137, allocations: 185.5 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.01143, allocations: 55.41 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.01171, allocations: 223.6 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01173, allocations: 25.7 kB / 447.7 MB, free: 208 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.01183, allocations: 116.1 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.01187, allocations: 27.8 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.01192, allocations: 21.72 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1988/0.2107, allocations: 322.8 kB / 448.2 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2108, allocations: 21.59 kB / 448.2 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.2109, allocations: 39.91 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.211, allocations: 62.5 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.211, allocations: 0 / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.2112, allocations: 109.7 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2113, allocations: 8.516 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2113, allocations: 0 / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2113, allocations: 1.219 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.2114, allocations: 18.88 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2114, allocations: 1.125 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.2115, allocations: 6.469 kB / 448.4 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2115, allocations: 9.375 kB / 448.4 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 9.13e-05/0.2116, allocations: 129.4 kB / 448.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2116, allocations: 12.58 kB / 448.6 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.2118, allocations: 125.4 kB / 448.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2118, allocations: 1.656 kB / 448.7 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2118, allocations: 5.031 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2118, allocations: 0.7031 kB / 448.7 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.2123, allocations: 352.9 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2123, allocations: 0 / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.2123, allocations: 14.28 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2123, allocations: 1 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2123, allocations: 6.781 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2123, allocations: 1.734 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2123, allocations: 1.156 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2125, allocations: 215.1 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.2126, allocations: 14.12 kB / 449.3 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2126, allocations: 14.8 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.2127, allocations: 3 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2127, allocations: 6.266 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2127, allocations: 5.375 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.2129, allocations: 171.7 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2129, allocations: 1.156 kB / 449.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.2132, allocations: 24.92 kB / 449.5 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.001779/0.2149, allocations: 0.4973 MB / 450 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.2151, allocations: 56.03 kB / 450.1 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2151, allocations: 3.938 kB / 450.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.2152, allocations: 33.41 kB / 450.1 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2156, allocations: 30.69 kB / 450.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.2161, allocations: 261.5 kB / 450.4 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.2162, allocations: 94.23 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.2163, allocations: 16.53 kB / 450.5 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.2163, allocations: 17.05 kB / 450.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2163, allocations: 3.312 kB / 450.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005715/0.222, allocations: 1.861 MB / 452.4 MB, free: 17.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.115591071546078]