Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002433/0.002433, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.696/1.696, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008034/0.0008036, allocations: 91.73 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.3531/0.3531, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 20 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001872/0.1117, allocations: 1.255 MB / 491.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.1122, allocations: 287.8 kB / 491.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1123, allocations: 4 kB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1126, allocations: 99.78 kB / 491.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1128, allocations: 79.78 kB / 491.9 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.113, allocations: 59.92 kB / 492 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1131, allocations: 59.81 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.1132, allocations: 15.98 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.1132, allocations: 35.83 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.1133, allocations: 51.88 kB / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1134, allocations: 4 kB / 492.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.1134, allocations: 31.92 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1135, allocations: 15.92 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1135, allocations: 33.7 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1136, allocations: 71.89 kB / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1136, allocations: 3.938 kB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1137, allocations: 0 / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1137, allocations: 3.938 kB / 492.3 MB, free: 9.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004262/0.1141, allocations: 399.1 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1141, allocations: 19.95 kB / 492.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.1142, allocations: 19.75 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1144, allocations: 186.9 kB / 492.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1144, allocations: 0 / 492.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1144, allocations: 8 kB / 492.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1146, allocations: 49.67 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1146, allocations: 0 / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1146, allocations: 0 / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1146, allocations: 4 kB / 493 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.1147, allocations: 31.88 kB / 493 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1151, allocations: 277 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1153, allocations: 50.55 kB / 493.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.1153, allocations: 20.8 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1154, allocations: 0 / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1154, allocations: 30.56 kB / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1154, allocations: 0 / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005543/0.116, allocations: 177.1 kB / 493.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.116, allocations: 51.41 kB / 493.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1162, allocations: 238.7 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1162, allocations: 25.7 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1163, allocations: 112.1 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1163, allocations: 19.75 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.1163, allocations: 0 / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1165, allocations: 322.8 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.1166, allocations: 19.98 kB / 494.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.1166, allocations: 32.05 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.934e-05/0.1167, allocations: 19.98 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1167, allocations: 0 / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.1169, allocations: 89.48 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1169, allocations: 15.89 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.117, allocations: 4 kB / 494.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.117, allocations: 288 / 494.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.117, allocations: 15.98 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1171, allocations: 0 / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.1171, allocations: 15.92 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1171, allocations: 4 kB / 494.5 MB, free: 6.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.089e-05/0.1172, allocations: 122.9 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1173, allocations: 23.78 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.1175, allocations: 102.6 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1175, allocations: 7.938 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1175, allocations: 3.938 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1175, allocations: 0 / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.1179, allocations: 358.6 kB / 495.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.118, allocations: 0 / 495.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.118, allocations: 19.94 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.118, allocations: 0 / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.118, allocations: 4.312 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1181, allocations: 4 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1181, allocations: 4 kB / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.1183, allocations: 183.4 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1183, allocations: 96.91 kB / 495.4 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1184, allocations: 7.953 kB / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.1184, allocations: 4 kB / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1185, allocations: 7.984 kB / 495.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1185, allocations: 0 / 495.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.1186, allocations: 187.2 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1186, allocations: 0 / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.1189, allocations: 16 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007617/0.1196, allocations: 412.2 kB / 496.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1198, allocations: 51.91 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1198, allocations: 0 / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.1199, allocations: 31.98 kB / 496.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1202, allocations: 16.17 kB / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1207, allocations: 283.2 kB / 496.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.121, allocations: 0.7083 MB / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.121, allocations: 19.42 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.121, allocations: 0 / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of Templates: time 0.002777/0.1238, allocations: 1.54 MB / 498.7 MB, free: 2.359 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches