Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000973/0.000973, 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.261/1.261, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0009671/0.0009671, allocations: 93.3 kB / 271.2 MB, free: 8.25 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.3073/0.3073, allocations: 43.55 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001842/0.1057, allocations: 1.401 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1073, allocations: 1.317 MB / 493.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.1074, allocations: 3.938 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1077, allocations: 35.89 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1078, allocations: 39.84 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1081, allocations: 71.83 kB / 493.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1082, allocations: 83.7 kB / 493.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.1083, allocations: 16.22 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.1084, allocations: 43.77 kB / 493.8 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1085, allocations: 35.8 kB / 493.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1085, allocations: 0 / 493.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1087, allocations: 51.97 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.1087, allocations: 11.92 kB / 493.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1088, allocations: 57.5 kB / 494 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1089, allocations: 88.09 kB / 494.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1089, allocations: 3.938 kB / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1089, allocations: 0 / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1089, allocations: 4 kB / 494.1 MB, free: 7.598 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.0004698/0.1094, allocations: 399.2 kB / 494.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1095, allocations: 8.031 kB / 494.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1095, allocations: 8.844 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1097, allocations: 208 kB / 494.7 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1097, allocations: 4.359 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1098, allocations: 16.06 kB / 494.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1099, allocations: 67.39 kB / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1099, allocations: 0 / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.11, allocations: 0 / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.11, allocations: 7.984 kB / 494.8 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.11, allocations: 15.98 kB / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1104, allocations: 280.9 kB / 495.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1105, allocations: 66.61 kB / 495.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.1106, allocations: 16.86 kB / 495.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1106, allocations: 0 / 495.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1108, allocations: 67.39 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1108, allocations: 0 / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004784/0.1113, allocations: 173.2 kB / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1114, allocations: 81.11 kB / 495.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1115, allocations: 150.8 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1115, allocations: 29.7 kB / 495.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1116, allocations: 92.05 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1116, allocations: 23.78 kB / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1116, allocations: 0 / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.1117, allocations: 330.7 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.1118, allocations: 27.98 kB / 496.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.1119, allocations: 38.56 kB / 496.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.112, allocations: 57.72 kB / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.112, allocations: 0 / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.1122, allocations: 101.4 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1122, allocations: 4 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1122, allocations: 8 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1122, allocations: 4 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.1123, allocations: 12.56 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1123, allocations: 7.922 kB / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1124, allocations: 15.88 kB / 496.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1124, allocations: 8 kB / 496.4 MB, free: 5.07 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.25e-05/0.1125, allocations: 125.6 kB / 496.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.1125, allocations: 7.906 kB / 496.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.1126, allocations: 16.7 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1126, allocations: 4 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1126, allocations: 4 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1126, allocations: 3.938 kB / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.113, allocations: 383.3 kB / 496.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.113, allocations: 4 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.113, allocations: 11.98 kB / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.113, allocations: 0 / 496.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1131, allocations: 3.938 kB / 496.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1131, allocations: 4.266 kB / 496.9 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1131, allocations: 4 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1133, allocations: 200.2 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1133, allocations: 93 kB / 497.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1134, allocations: 7.938 kB / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.1134, allocations: 0 / 497.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1135, allocations: 11.98 kB / 497.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1135, allocations: 8 kB / 497.2 MB, free: 4.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.1136, allocations: 118.7 kB / 497.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1136, allocations: 0 / 497.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000246/0.1138, allocations: 28 kB / 497.4 MB, free: 3.953 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.0009864/0.1148, allocations: 0.501 MB / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1151, allocations: 55.92 kB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1151, allocations: 0 / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.1152, allocations: 31.98 kB / 498 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.1156, allocations: 31.97 kB / 498 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.1162, allocations: 227.8 kB / 498.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1164, allocations: 0.7004 MB / 498.9 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.1165, allocations: 19.38 kB / 498.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1165, allocations: 0 / 498.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004903/0.1214, allocations: 2.024 MB / 0.4892 GB, free: 364 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches