Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009476/0.0009477, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.194/1.194, 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.000747/0.0007471, allocations: 86.36 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.2935/0.2935, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001682/0.1061, allocations: 1.255 MB / 492.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004762/0.1066, allocations: 299.8 kB / 492.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1067, allocations: 0 / 492.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1068, allocations: 11.94 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.107, allocations: 35.84 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1072, allocations: 59.92 kB / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.1073, allocations: 43.84 kB / 492.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.1074, allocations: 15.98 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.1074, allocations: 31.84 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1075, allocations: 11.92 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1075, allocations: 0 / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.1076, allocations: 24 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.1076, allocations: 11.92 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1076, allocations: 45.56 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.177e-05/0.1077, allocations: 51.92 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1077, allocations: 0 / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1078, allocations: 0 / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1078, allocations: 0 / 492.7 MB, free: 8.762 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.0003637/0.1081, allocations: 371.5 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1082, allocations: 12.03 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1082, allocations: 4.844 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1084, allocations: 191.8 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1084, allocations: 4.375 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1084, allocations: 4.375 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1085, allocations: 53.61 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1085, allocations: 3.906 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1086, allocations: 8 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1086, allocations: 0 / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.1086, allocations: 27.98 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1089, allocations: 272.8 kB / 493.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1091, allocations: 46.56 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1092, allocations: 16.86 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1092, allocations: 4.078 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1092, allocations: 34.56 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1092, allocations: 0 / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004877/0.1097, allocations: 157.3 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.1097, allocations: 55.41 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1099, allocations: 142 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1099, allocations: 33.64 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1099, allocations: 96.12 kB / 494.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.11, allocations: 11.81 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.11, allocations: 0 / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.1101, allocations: 326.8 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.1101, allocations: 19.92 kB / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.1102, allocations: 27.98 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1103, allocations: 48.84 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1103, allocations: 4 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/0.1105, allocations: 89.56 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1105, allocations: 7.281 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1105, allocations: 0 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1106, allocations: 0 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.1106, allocations: 15.94 kB / 494.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1106, allocations: 3.938 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.1107, allocations: 15.98 kB / 494.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1107, allocations: 3.938 kB / 494.8 MB, free: 6.477 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 6.973e-05/0.1108, allocations: 117.8 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1108, allocations: 7.906 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.111, allocations: 97.91 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.111, allocations: 8 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.111, allocations: 320 / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1111, allocations: 4.266 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.1114, allocations: 350.5 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1114, allocations: 0 / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.1115, allocations: 16 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1115, allocations: 0 / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1115, allocations: 7.984 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1115, allocations: 3.938 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1115, allocations: 3.984 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1117, allocations: 187.4 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1118, allocations: 85.02 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1118, allocations: 3.984 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.1119, allocations: 11.94 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.1119, allocations: 0 / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1119, allocations: 3.984 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.112, allocations: 107.3 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.112, allocations: 4 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000226/0.1122, allocations: 20 kB / 495.8 MB, free: 5.352 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.0007736/0.113, allocations: 403.4 kB / 496.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1132, allocations: 47.97 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1132, allocations: 7.938 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.1133, allocations: 27.98 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.000307/0.1136, allocations: 15.98 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.114, allocations: 206.2 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1142, allocations: 0.6887 MB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1143, allocations: 11.44 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1143, allocations: 4 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of Templates: time 0.002511/0.1168, allocations: 1.341 MB / 498.5 MB, free: 2.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches