Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 175.9 kB / 16.72 MB, free: 5.078 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.212/1.212, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006794/0.0006794, allocations: 93.16 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.2909/0.2909, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 16 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002301/0.1097, allocations: 1.255 MB / 492.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000557/0.1103, allocations: 295.8 kB / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1104, allocations: 4 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1106, allocations: 7.938 kB / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1108, allocations: 35.84 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.111, allocations: 63.92 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1112, allocations: 43.84 kB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1113, allocations: 15.98 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.1113, allocations: 23.84 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.1114, allocations: 15.92 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1114, allocations: 0 / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.1115, allocations: 24 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.1116, allocations: 19.91 kB / 492.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1116, allocations: 41.58 kB / 492.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1117, allocations: 51.92 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1118, allocations: 0 / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1118, allocations: 0 / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1118, allocations: 0 / 492.7 MB, free: 8.75 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.0004406/0.1122, allocations: 367.6 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1123, allocations: 11.97 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1123, allocations: 8.844 kB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1125, allocations: 195.8 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1125, allocations: 384 / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1125, allocations: 384 / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1127, allocations: 53.8 kB / 493.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1127, allocations: 3.906 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1127, allocations: 8 kB / 493.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1128, allocations: 3.984 kB / 493.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.1129, allocations: 27.98 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1132, allocations: 272.8 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1134, allocations: 42.56 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1135, allocations: 12.86 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1135, allocations: 16 kB / 493.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1135, allocations: 38.56 kB / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1135, allocations: 0 / 493.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.1141, allocations: 157.3 kB / 493.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1142, allocations: 51.41 kB / 494 MB, free: 7.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1143, allocations: 142 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1143, allocations: 25.7 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.1144, allocations: 96.12 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1144, allocations: 7.812 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1144, allocations: 4 kB / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1146, allocations: 326.8 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.1147, allocations: 27.92 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.1147, allocations: 19.98 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1149, allocations: 52.84 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1149, allocations: 0 / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001783/0.1151, allocations: 89.56 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1151, allocations: 4 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1151, allocations: 8 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1151, allocations: 0 / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.1152, allocations: 12.25 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1152, allocations: 3.938 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.1152, allocations: 15.92 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1153, allocations: 0 / 494.8 MB, free: 6.469 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.363e-05/0.1154, allocations: 121.8 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1154, allocations: 7.906 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1156, allocations: 101.9 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1156, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1156, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1157, allocations: 3.984 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1161, allocations: 358.5 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1161, allocations: 0 / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1161, allocations: 8 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1161, allocations: 4 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1162, allocations: 0 / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1162, allocations: 3.938 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1162, allocations: 7.984 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1164, allocations: 183.4 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1165, allocations: 81.02 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1165, allocations: 7.984 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.1166, allocations: 15.94 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1166, allocations: 0 / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1166, allocations: 8.172 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.445e-05/0.1167, allocations: 111.2 kB / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1167, allocations: 0 / 495.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.1169, allocations: 16 kB / 495.8 MB, free: 5.344 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.0007681/0.1177, allocations: 404.1 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1179, allocations: 47.97 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1179, allocations: 4 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.118, allocations: 27.92 kB / 496.3 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1183, allocations: 23.97 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.1187, allocations: 202.2 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.119, allocations: 0.6926 MB / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.119, allocations: 15.38 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.119, allocations: 4 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Templates: time 0.002788/0.1218, allocations: 1.333 MB / 498.5 MB, free: 2.586 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches