Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001873/0.001873, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002016/0.002016, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 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.3865/0.3865, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.967e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003365/0.003395, allocations: 1.692 MB / 379.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.005619, allocations: 0.9781 MB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.0057, allocations: 4 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.006061, allocations: 71.66 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.006437, allocations: 107.5 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.006698, allocations: 79.66 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.006898, allocations: 107.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.006944, allocations: 240 / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.007072, allocations: 63.81 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.007184, allocations: 39.89 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.007205, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.007305, allocations: 39.92 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.007371, allocations: 19.86 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.007418, allocations: 15.94 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.007642, allocations: 103.6 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007645, allocations: 4 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007646, allocations: 0 / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.007651, allocations: 0 / 380.7 MB, free: 15.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006744/0.008326, allocations: 443.6 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.008366, allocations: 12.03 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.008429, allocations: 8.891 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.008681, allocations: 161.1 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.008699, allocations: 4.375 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.008712, allocations: 4.312 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.008859, allocations: 54.23 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.00887, allocations: 3.938 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.008879, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.008883, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.008953, allocations: 11.98 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.009168, allocations: 148.6 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.009348, allocations: 55.11 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.009408, allocations: 31.61 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.009427, allocations: 3.984 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.009585, allocations: 69.05 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.009586, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003245/0.00991, allocations: 105.5 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.009966, allocations: 55.34 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01022, allocations: 246.4 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01025, allocations: 29.69 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01035, allocations: 150.9 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.0104, allocations: 23.89 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.01044, allocations: 23.38 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002965/0.01074, allocations: 0.5001 MB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.01078, allocations: 12 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.01085, allocations: 31.36 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.01095, allocations: 51.36 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01096, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001617/0.01112, allocations: 77.58 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01113, allocations: 4 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01114, allocations: 3.938 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01115, allocations: 4.031 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.01123, allocations: 12 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01124, allocations: 7.938 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.01128, allocations: 7.922 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.0113, allocations: 4 kB / 383 MB, free: 13 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 (7): * Single equations (assignments): 7 * 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 0.0001356/0.01143, allocations: 163.8 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01146, allocations: 15.91 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.0117, allocations: 94.91 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0117, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01171, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01171, allocations: 7.984 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.01188, allocations: 152.6 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01188, allocations: 4 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.01191, allocations: 8.312 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01191, allocations: 0 / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01192, allocations: 3.938 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.01193, allocations: 7.938 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01193, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.01215, allocations: 128.3 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01217, allocations: 7.953 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01219, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.01223, allocations: 15.92 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.01227, allocations: 0 / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01228, allocations: 4 kB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.01245, allocations: 180.1 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01245, allocations: 0 / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01267, allocations: 23.94 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002856/0.01552, allocations: 431.3 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.01573, allocations: 43.67 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01573, allocations: 4.062 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.01581, allocations: 31.61 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.01612, allocations: 35.91 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.01662, allocations: 202.1 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.01672, allocations: 89.38 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.01677, allocations: 16.47 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.01681, allocations: 20.5 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01681, allocations: 0 / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005873/0.02268, allocations: 1.633 MB / 386.3 MB, free: 9.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.024920744937845]