Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.917/1.917, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008002/0.0008001, allocations: 92.02 kB / 270.9 MB, free: 8.355 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.3411/0.3411, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 16 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001749/0.1036, allocations: 1.39 MB / 491.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1047, allocations: 0.7461 MB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.1047, allocations: 4 kB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.105, allocations: 71.83 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1052, allocations: 63.8 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1054, allocations: 83.83 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1056, allocations: 91.67 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.1057, allocations: 16.22 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.1057, allocations: 43.78 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.1058, allocations: 47.81 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1059, allocations: 0 / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.1059, allocations: 36 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.106, allocations: 23.89 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.106, allocations: 45.58 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1062, allocations: 80.11 kB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1062, allocations: 0 / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1062, allocations: 4 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1062, allocations: 4 kB / 493 MB, free: 8.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004571/0.1067, allocations: 402.8 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1067, allocations: 12.03 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1068, allocations: 11.81 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.107, allocations: 214.8 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.107, allocations: 0 / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.107, allocations: 4 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1072, allocations: 53.67 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1072, allocations: 7.938 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1072, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1072, allocations: 3.953 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1073, allocations: 19.98 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.1076, allocations: 284.9 kB / 494 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1078, allocations: 58.67 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.1078, allocations: 16.86 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1079, allocations: 4 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.108, allocations: 75.27 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.108, allocations: 0 / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004999/0.1085, allocations: 177.1 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1086, allocations: 63.34 kB / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1088, allocations: 210.3 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1088, allocations: 25.7 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1089, allocations: 104.1 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.1089, allocations: 23.66 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1089, allocations: 3.938 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.109, allocations: 326.8 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.1091, allocations: 19.98 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1091, allocations: 37.7 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.1092, allocations: 24 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1092, allocations: 0 / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.1094, allocations: 105.5 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1094, allocations: 4 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1094, allocations: 0 / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1094, allocations: 4 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.1095, allocations: 15.98 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1095, allocations: 4.406 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1096, allocations: 11.91 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1096, allocations: 4 kB / 495.3 MB, free: 5.926 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 ($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 9.766e-05/0.1097, allocations: 129.8 kB / 495.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1097, allocations: 19.86 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.1098, allocations: 17.41 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1098, allocations: 0 / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1098, allocations: 4 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1098, allocations: 7.969 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.1102, allocations: 403.2 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1102, allocations: 0 / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1103, allocations: 8 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1103, allocations: 0 / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1103, allocations: 0 / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1103, allocations: 4 kB / 495.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1103, allocations: 0 / 495.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1105, allocations: 216.1 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1106, allocations: 88.97 kB / 496.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1106, allocations: 0 / 496.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.1107, allocations: 11.98 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.1107, allocations: 4 kB / 496.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1108, allocations: 0 / 496.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1109, allocations: 164.2 kB / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1109, allocations: 0 / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.1111, allocations: 28 kB / 496.3 MB, free: 4.734 MB / 378.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: 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.0008668/0.112, allocations: 468.2 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1122, allocations: 59.91 kB / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1122, allocations: 0 / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.1123, allocations: 27.94 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.1126, allocations: 27.88 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.113, allocations: 288 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1133, allocations: 0.7043 MB / 497.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1133, allocations: 23.42 kB / 497.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1133, allocations: 4 kB / 497.9 MB, free: 3.141 MB / 378.7 MB Notification: Performance of Templates: time 0.003286/0.1166, allocations: 1.922 MB / 499.9 MB, free: 1.223 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches