Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.347/1.347, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.000721/0.000721, allocations: 78.44 kB / 271.2 MB, free: 8.246 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.3241/0.3241, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 19.98 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002386/0.1056, allocations: 1.401 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1071, allocations: 0.7383 MB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1072, allocations: 7.938 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1076, allocations: 35.89 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1078, allocations: 43.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1082, allocations: 75.78 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1084, allocations: 79.7 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1085, allocations: 24.2 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1086, allocations: 35.8 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.1087, allocations: 27.84 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1088, allocations: 4 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1089, allocations: 31.98 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1089, allocations: 15.86 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.109, allocations: 61.48 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1092, allocations: 84.11 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1092, allocations: 0 / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1092, allocations: 0 / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1092, allocations: 0 / 493.5 MB, free: 8.203 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.0005853/0.1098, allocations: 399 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1099, allocations: 8.031 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1099, allocations: 16.84 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1102, allocations: 208 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1103, allocations: 4.375 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1103, allocations: 4.125 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1105, allocations: 61.61 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1105, allocations: 0 / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1105, allocations: 8 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1105, allocations: 0 / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.1106, allocations: 23.92 kB / 494.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1111, allocations: 284.9 kB / 494.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1113, allocations: 50.67 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.1113, allocations: 20.86 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1114, allocations: 7.984 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.1116, allocations: 71.23 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1116, allocations: 0 / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006248/0.1122, allocations: 169.3 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1123, allocations: 55.39 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1125, allocations: 190.2 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1125, allocations: 25.7 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.1126, allocations: 104.1 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1127, allocations: 27.64 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.1127, allocations: 0 / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1128, allocations: 330.8 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.1129, allocations: 16 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.113, allocations: 33.7 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1131, allocations: 65.64 kB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1131, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.1133, allocations: 93.59 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1134, allocations: 4 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1134, allocations: 0 / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1134, allocations: 3.984 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1135, allocations: 23.94 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.1135, allocations: 4.031 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.1136, allocations: 3.938 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1136, allocations: 4 kB / 495.8 MB, free: 5.695 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 0.0001293/0.1138, allocations: 133.5 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1138, allocations: 11.91 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.1138, allocations: 20.69 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1139, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1139, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1139, allocations: 7.875 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1144, allocations: 395.2 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1144, allocations: 0 / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.1145, allocations: 15.94 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1145, allocations: 384 / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1145, allocations: 11.92 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1145, allocations: 4 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1145, allocations: 0 / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1148, allocations: 200.5 kB / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1149, allocations: 92.92 kB / 496.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1149, allocations: 7.922 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.115, allocations: 4 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1151, allocations: 8 kB / 496.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1151, allocations: 7.984 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1152, allocations: 144.1 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1152, allocations: 192 / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.1156, allocations: 27.98 kB / 496.8 MB, free: 4.527 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.001142/0.1167, allocations: 473.2 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1169, allocations: 51.98 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1169, allocations: 0 / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.117, allocations: 31.92 kB / 497.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1174, allocations: 27.97 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.1179, allocations: 256.2 kB / 497.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1183, allocations: 0.7043 MB / 498.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.1183, allocations: 15.44 kB / 498.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1183, allocations: 3.938 kB / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.003894/0.1222, allocations: 1.879 MB / 0.4885 GB, free: 1.082 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches