Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001929/0.001929, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001334/0.001334, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9278/0.9278, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1436/0.1436, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.504e-05, allocations: 2.312 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002155/0.00218, allocations: 1.818 MB / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003539, allocations: 1.591 MB / 351.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.003625, allocations: 4 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.003935, allocations: 55.62 kB / 351.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.004228, allocations: 103.4 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.004495, allocations: 143.6 kB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004684, allocations: 191.3 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.004724, allocations: 5.812 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004833, allocations: 95.73 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004955, allocations: 55.8 kB / 351.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.004979, allocations: 8 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.005098, allocations: 63.86 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.005154, allocations: 39.83 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.005201, allocations: 39.84 kB / 351.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005407, allocations: 135.5 kB / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.00541, allocations: 0 / 352.1 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005411, allocations: 4 kB / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.005416, allocations: 0 / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004021/0.005818, allocations: 0.4956 MB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.005853, allocations: 8.031 kB / 352.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.005908, allocations: 16.84 kB / 352.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.006099, allocations: 176.3 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.006116, allocations: 4.375 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.006132, allocations: 4.375 kB / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.006292, allocations: 169 kB / 352.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006302, allocations: 7.938 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006313, allocations: 8 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006321, allocations: 0 / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.006364, allocations: 19.92 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.006502, allocations: 168.3 kB / 353.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.00663, allocations: 94.16 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.006673, allocations: 35.36 kB / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.006689, allocations: 8 kB / 353.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.006812, allocations: 108.3 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.006814, allocations: 3.984 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002534/0.007067, allocations: 141.4 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.007102, allocations: 136.5 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.007241, allocations: 262.8 kB / 353.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.007252, allocations: 25.7 kB / 353.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.007288, allocations: 158.9 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.007322, allocations: 23.8 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.007358, allocations: 35.36 kB / 354.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.007407, allocations: 0.504 MB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.00744, allocations: 16.48 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.007492, allocations: 128.2 kB / 354.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.283e-05/0.007565, allocations: 82.67 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007567, allocations: 0 / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001247/0.007692, allocations: 117.5 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007704, allocations: 8 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.007711, allocations: 8.031 kB / 355 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.007726, allocations: 4 kB / 355 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.007805, allocations: 23.92 kB / 355 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.00781, allocations: 0 / 355 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.007854, allocations: 12 kB / 355 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007861, allocations: 4 kB / 355 MB, free: 1.703 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 6.962e-05/0.00793, allocations: 164.6 kB / 355.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.007953, allocations: 19.91 kB / 355.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.008134, allocations: 142.6 kB / 355.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.008137, allocations: 8 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008142, allocations: 256 / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008146, allocations: 0 / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.008235, allocations: 168.5 kB / 355.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008236, allocations: 0 / 355.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.008264, allocations: 15.98 kB / 355.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008266, allocations: 7.938 kB / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008275, allocations: 0 / 355.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008276, allocations: 3.938 kB / 355.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.008278, allocations: 7.938 kB / 355.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.008408, allocations: 168 kB / 355.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.008425, allocations: 19.91 kB / 355.8 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.008445, allocations: 7.984 kB / 355.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.132e-05/0.008477, allocations: 3.938 kB / 355.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.008514, allocations: 15.98 kB / 355.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.008527, allocations: 4 kB / 355.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.008604, allocations: 189.4 kB / 356 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008604, allocations: 0 / 356 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.008789, allocations: 35.94 kB / 356 MB, free: 0.6602 MB / 282.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009042/0.009694, allocations: 452.5 kB / 356.5 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.009847, allocations: 71.59 kB / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009849, allocations: 0 / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.009894, allocations: 39.98 kB / 356.6 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.01013, allocations: 63.89 kB / 356.6 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.01054, allocations: 269.6 kB / 356.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01058, allocations: 72 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.01065, allocations: 33.56 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.0107, allocations: 28.48 kB / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0107, allocations: 0 / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Templates: time 0.005002/0.0157, allocations: 2.952 MB / 360 MB, free: 12.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.4449336230754852]