Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009533, allocations: 175.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.7 MB, free: 5.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3326/0.3326, allocations: 43.55 MB / 314.5 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 16 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001658/0.1056, allocations: 1.391 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.1066, allocations: 0.7306 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.1067, allocations: 4 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1069, allocations: 27.83 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.107, allocations: 39.89 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1073, allocations: 83.7 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1074, allocations: 59.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.1075, allocations: 16.19 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.1075, allocations: 31.86 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1076, allocations: 35.84 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1076, allocations: 0 / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.1077, allocations: 35.86 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1077, allocations: 19.97 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.1078, allocations: 37.64 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1079, allocations: 76.11 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.1079, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1079, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1079, allocations: 4 kB / 445.3 MB, free: 10.46 MB / 382.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.0004302/0.1084, allocations: 406.8 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1084, allocations: 8.031 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1085, allocations: 11.84 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1087, allocations: 214.7 kB / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1087, allocations: 0 / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1087, allocations: 4 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1089, allocations: 53.67 kB / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1089, allocations: 0 / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1089, allocations: 0 / 446 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1089, allocations: 3.953 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.109, allocations: 23.98 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1094, allocations: 280.9 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1095, allocations: 58.67 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1096, allocations: 0 / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1097, allocations: 83.31 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1097, allocations: 0 / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.1102, allocations: 157.7 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1103, allocations: 63.33 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1105, allocations: 186.1 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1105, allocations: 29.7 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.1105, allocations: 104.1 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1106, allocations: 23.72 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1106, allocations: 4 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1108, allocations: 318.8 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.1109, allocations: 23.98 kB / 447.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.1109, allocations: 33.7 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.111, allocations: 20 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.111, allocations: 0 / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1112, allocations: 109.6 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1112, allocations: 7.953 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1112, allocations: 7.938 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1113, allocations: 0 / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.1114, allocations: 16 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1114, allocations: 0 / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1114, allocations: 7.984 kB / 447.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1114, allocations: 0 / 447.5 MB, free: 8.02 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.1115, allocations: 133.8 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1116, allocations: 11.91 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1116, allocations: 20.66 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1116, allocations: 192 / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1116, allocations: 4 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1116, allocations: 3.938 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.1121, allocations: 395.2 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1121, allocations: 0 / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1121, allocations: 12.03 kB / 448.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1121, allocations: 7.969 kB / 448.1 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1122, allocations: 4 kB / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1122, allocations: 0 / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1122, allocations: 0 / 448.1 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1124, allocations: 217.9 kB / 448.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1125, allocations: 92.92 kB / 448.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1125, allocations: 7.984 kB / 448.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.1126, allocations: 4 kB / 448.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1126, allocations: 4 kB / 448.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1126, allocations: 7.984 kB / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1128, allocations: 144.1 kB / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1128, allocations: 0 / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.113, allocations: 23.98 kB / 448.6 MB, free: 6.84 MB / 382.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.1141, allocations: 465 kB / 449.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1143, allocations: 55.91 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1143, allocations: 0 / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.1143, allocations: 39.98 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1146, allocations: 31.92 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.115, allocations: 230.5 kB / 449.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1153, allocations: 0.7121 MB / 450.1 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1154, allocations: 8.891 kB / 450.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1154, allocations: 19.42 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1154, allocations: 0 / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004174/0.1196, allocations: 1.591 MB / 451.8 MB, free: 3.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches