Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001917/0.001918, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000899/0.000899, allocations: 108.8 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.32/0.32, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 55.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1018, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002987/0.1048, allocations: 1.723 MB / 488.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.106, allocations: 0.7779 MB / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1061, allocations: 0 / 489.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1064, allocations: 47.86 kB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1066, allocations: 59.81 kB / 489.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1069, allocations: 71.84 kB / 489.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.107, allocations: 87.7 kB / 489.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.1071, allocations: 11.97 kB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.1072, allocations: 43.73 kB / 489.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1072, allocations: 31.84 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1073, allocations: 4 kB / 489.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.1073, allocations: 23.98 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1074, allocations: 27.92 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.1075, allocations: 47.59 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1076, allocations: 111.9 kB / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1076, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1076, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1077, allocations: 0 / 490.1 MB, free: 9.441 MB / 378.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.0005025/0.1082, allocations: 438.7 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1082, allocations: 8.031 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1083, allocations: 12.84 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1085, allocations: 215.8 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1085, allocations: 384 / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1085, allocations: 12.12 kB / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1086, allocations: 49.61 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1086, allocations: 0 / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1087, allocations: 3.984 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1087, allocations: 0 / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.1087, allocations: 19.92 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1089, allocations: 185.7 kB / 491 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1091, allocations: 58.61 kB / 491.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.1091, allocations: 20.8 kB / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1092, allocations: 0 / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1093, allocations: 75.31 kB / 491.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1094, allocations: 4 kB / 491.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002475/0.1096, allocations: 101.5 kB / 491.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1096, allocations: 59.34 kB / 491.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1099, allocations: 251.7 kB / 491.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1099, allocations: 29.7 kB / 491.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1099, allocations: 112.1 kB / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.11, allocations: 11.81 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.11, allocations: 17.72 kB / 491.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1101, allocations: 334.8 kB / 492 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1102, allocations: 11.98 kB / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.1102, allocations: 33.69 kB / 492.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.1103, allocations: 37.72 kB / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1103, allocations: 0 / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.1105, allocations: 93.36 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1105, allocations: 12.03 kB / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1105, allocations: 0 / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1105, allocations: 0 / 492.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.1106, allocations: 12 kB / 492.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1106, allocations: 0 / 492.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1107, allocations: 11.92 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1107, allocations: 4 kB / 492.3 MB, free: 7.012 MB / 378.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 9.464e-05/0.1108, allocations: 137.7 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1108, allocations: 15.81 kB / 492.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1109, allocations: 21 kB / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1109, allocations: 0 / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1109, allocations: 3.984 kB / 492.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1109, allocations: 0 / 492.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.111, allocations: 189.6 kB / 492.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.111, allocations: 0 / 492.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.111, allocations: 8.297 kB / 492.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1111, allocations: 0 / 492.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1111, allocations: 0 / 492.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1111, allocations: 8 kB / 492.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1111, allocations: 0 / 492.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.1115, allocations: 0.6979 MB / 493.3 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.1116, allocations: 88.92 kB / 493.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1116, allocations: 3.938 kB / 493.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.1117, allocations: 0 / 493.4 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.1117, allocations: 11.92 kB / 493.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1117, allocations: 11.94 kB / 493.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1119, allocations: 199 kB / 493.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1119, allocations: 0 / 493.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.1122, allocations: 23.98 kB / 493.7 MB, free: 5.465 MB / 378.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008417/0.113, allocations: 421.7 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1132, allocations: 35.98 kB / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1132, allocations: 0 / 494.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.1133, allocations: 31.98 kB / 494.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1136, allocations: 19.98 kB / 494.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.1141, allocations: 403.2 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1144, allocations: 0.716 MB / 495.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.1145, allocations: 12.55 kB / 495.3 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.1145, allocations: 11.44 kB / 495.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1145, allocations: 0 / 495.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of Templates: time 0.003842/0.1184, allocations: 1.481 MB / 496.8 MB, free: 2.34 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches