Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.307/1.307, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000763/0.0007631, allocations: 81 kB / 271.2 MB, free: 8.254 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.2862/0.2862, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 20 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09802, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001769/0.09983, allocations: 1.394 MB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1009, allocations: 0.75 MB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.1009, allocations: 0 / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.1012, allocations: 39.81 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1013, allocations: 51.83 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1016, allocations: 71.83 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1017, allocations: 99.69 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.1018, allocations: 16.22 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1019, allocations: 43.83 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.102, allocations: 43.78 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.102, allocations: 0 / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.1021, allocations: 39.91 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.1021, allocations: 23.92 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.1022, allocations: 57.5 kB / 493.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1024, allocations: 96.08 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1024, allocations: 0 / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1024, allocations: 4 kB / 493.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1024, allocations: 0 / 493.5 MB, free: 7.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00046/0.1029, allocations: 407 kB / 493.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1029, allocations: 8.031 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1029, allocations: 16.83 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1032, allocations: 216.7 kB / 494.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1032, allocations: 4.375 kB / 494.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1032, allocations: 4.125 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1034, allocations: 73.66 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1034, allocations: 0 / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1034, allocations: 3.938 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1034, allocations: 0 / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1035, allocations: 39.97 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1039, allocations: 308.8 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1041, allocations: 86.61 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.1041, allocations: 32.78 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1042, allocations: 0 / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1043, allocations: 75.38 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1044, allocations: 0 / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005624/0.1049, allocations: 229.1 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.105, allocations: 59.41 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1051, allocations: 180.8 kB / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1052, allocations: 29.7 kB / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1052, allocations: 104.1 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1053, allocations: 31.55 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1053, allocations: 4 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1054, allocations: 322.8 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.1054, allocations: 27.98 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.1055, allocations: 57.58 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1057, allocations: 73.7 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1057, allocations: 0 / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002091/0.1059, allocations: 121.5 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1059, allocations: 8 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1059, allocations: 3.938 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1059, allocations: 0 / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.106, allocations: 28 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1061, allocations: 4.188 kB / 496.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1061, allocations: 7.938 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1061, allocations: 12.41 kB / 496.1 MB, free: 5.145 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 (12): * Single equations (assignments): 12 * 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.0001185/0.1062, allocations: 137.6 kB / 496.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.1063, allocations: 11.81 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.1063, allocations: 17.39 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1063, allocations: 4 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1063, allocations: 4 kB / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1064, allocations: 3.938 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1068, allocations: 431.2 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1068, allocations: 4 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.1069, allocations: 8 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1069, allocations: 11.92 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1069, allocations: 0 / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1069, allocations: 0 / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1069, allocations: 8.016 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1072, allocations: 228.1 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1072, allocations: 89.02 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1072, allocations: 7.938 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.1073, allocations: 0 / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1074, allocations: 15.92 kB / 497 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1074, allocations: 8 kB / 497 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1075, allocations: 144.9 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1075, allocations: 0 / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.1077, allocations: 31.98 kB / 497.2 MB, free: 3.902 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 (10): * Single equations (assignments): 8 * 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.0008647/0.1086, allocations: 450.4 kB / 497.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1088, allocations: 83.91 kB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1088, allocations: 0 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.1089, allocations: 35.92 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1092, allocations: 31.11 kB / 497.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1097, allocations: 291.8 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1099, allocations: 0.7125 MB / 498.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.11, allocations: 27.44 kB / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.11, allocations: 0 / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of Templates: time 0.003313/0.1133, allocations: 2.089 MB / 0.4892 GB, free: 196 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches