Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.CombiTable1D.Test7,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.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.341/1.341, allocations: 205.4 MB / 223.6 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.0007934/0.0007933, allocations: 74.44 kB / 271.9 MB, free: 8.27 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.2999/0.2999, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 11.94 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4493, allocations: 86.49 MB / 0.5644 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4496, allocations: 79.95 kB / 0.5645 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009134/0.4587, allocations: 3.581 MB / 0.568 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4588, allocations: 0 / 0.568 GB, free: 12.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4588, allocations: 4 kB / 0.568 GB, free: 12.3 MB / 394.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.0004311/0.4592, allocations: 391.8 kB / 0.5683 GB, free: 11.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4593, allocations: 12.03 kB / 0.5684 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4593, allocations: 4.844 kB / 0.5684 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4595, allocations: 196.2 kB / 0.5685 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4596, allocations: 384 / 0.5685 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.4596, allocations: 5.312 kB / 0.5685 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.4597, allocations: 55.12 kB / 0.5686 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4598, allocations: 192 / 0.5686 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4598, allocations: 3.938 kB / 0.5686 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4598, allocations: 0 / 0.5686 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.4599, allocations: 35.91 kB / 0.5686 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.4603, allocations: 284.9 kB / 0.5689 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4605, allocations: 50.48 kB / 0.569 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.4605, allocations: 20.86 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4606, allocations: 0 / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4606, allocations: 45.5 kB / 0.569 GB, free: 11.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4606, allocations: 0 / 0.569 GB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005488/0.4612, allocations: 165.4 kB / 0.5692 GB, free: 10.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.4612, allocations: 55.34 kB / 0.5692 GB, free: 10.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4614, allocations: 150.6 kB / 0.5694 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4614, allocations: 25.7 kB / 0.5694 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.4614, allocations: 92.14 kB / 0.5695 GB, free: 10.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.4615, allocations: 23.67 kB / 0.5695 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/0.4615, allocations: 4 kB / 0.5695 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4616, allocations: 323 kB / 0.5698 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.4617, allocations: 23.97 kB / 0.5698 GB, free: 10.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.4618, allocations: 27.98 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4619, allocations: 60.83 kB / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4619, allocations: 0 / 0.5699 GB, free: 10.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.4621, allocations: 93.52 kB / 0.57 GB, free: 9.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4621, allocations: 7.984 kB / 0.57 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4621, allocations: 0 / 0.57 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4622, allocations: 0 / 0.57 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.4622, allocations: 16 kB / 0.57 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4622, allocations: 2.656 kB / 0.57 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.4623, allocations: 11.98 kB / 0.5701 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4623, allocations: 4 kB / 0.5701 GB, free: 9.941 MB / 394.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 8.237e-05/0.4624, allocations: 125.8 kB / 0.5702 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.4624, allocations: 7.906 kB / 0.5702 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.4627, allocations: 109.9 kB / 0.5703 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4627, allocations: 0 / 0.5703 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4627, allocations: 0 / 0.5703 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4627, allocations: 0 / 0.5703 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.4632, allocations: 370.5 kB / 0.5706 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4632, allocations: 0 / 0.5706 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4632, allocations: 16.36 kB / 0.5707 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4632, allocations: 0 / 0.5707 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4633, allocations: 5.125 kB / 0.5707 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4633, allocations: 4 kB / 0.5707 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4633, allocations: 7.875 kB / 0.5707 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.4635, allocations: 191.4 kB / 0.5709 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.4636, allocations: 85.02 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4636, allocations: 288 / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.4636, allocations: 11.98 kB / 0.571 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4637, allocations: 7.938 kB / 0.571 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4637, allocations: 0 / 0.571 GB, free: 8.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.4638, allocations: 123.2 kB / 0.5711 GB, free: 8.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.4638, allocations: 0 / 0.5711 GB, free: 8.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.464, allocations: 27.92 kB / 0.5711 GB, free: 8.773 MB / 394.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.0009096/0.465, allocations: 406.6 kB / 0.5715 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4652, allocations: 71.89 kB / 0.5716 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4652, allocations: 0 / 0.5716 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.4653, allocations: 27.98 kB / 0.5716 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.4656, allocations: 11.98 kB / 0.5716 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.466, allocations: 232.5 kB / 0.5718 GB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4664, allocations: 0.6926 MB / 0.5725 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.4664, allocations: 15.38 kB / 0.5725 GB, free: 7.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4664, allocations: 0 / 0.5725 GB, free: 7.363 MB / 394.7 MB Notification: Performance of Templates: time 0.003143/0.4696, allocations: 1.425 MB / 0.5739 GB, free: 5.941 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches