Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 108.2 kB / 18.39 MB, free: 4.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 187 kB / 19.33 MB, free: 3.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 61.66 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002726/0.1156, allocations: 1.571 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.117, allocations: 1.02 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1171, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1173, allocations: 23.86 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1175, allocations: 51.7 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1177, allocations: 87.77 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1179, allocations: 67.83 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.118, allocations: 12.19 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.118, allocations: 31.84 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1182, allocations: 27.84 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1182, allocations: 8 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1183, allocations: 55.97 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.1184, allocations: 8 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1184, allocations: 31.73 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1186, allocations: 95.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1186, allocations: 0 / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1186, allocations: 4 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1186, allocations: 0 / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004489/0.1191, allocations: 386.2 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1191, allocations: 16.03 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1192, allocations: 8.844 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1193, allocations: 188.2 kB / 474.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1194, allocations: 8.297 kB / 474.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1194, allocations: 8.281 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1196, allocations: 79.31 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1196, allocations: 0 / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1196, allocations: 0 / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1196, allocations: 4 kB / 474.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.575e-05/0.1197, allocations: 31.97 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1201, allocations: 292.8 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1202, allocations: 46.56 kB / 474.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.1202, allocations: 28.97 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1203, allocations: 0 / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1203, allocations: 34.56 kB / 474.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1203, allocations: 0 / 474.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005676/0.1209, allocations: 181.3 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1209, allocations: 81.09 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1211, allocations: 144.4 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1211, allocations: 37.7 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.1211, allocations: 84.14 kB / 475.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1212, allocations: 35.48 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1212, allocations: 21.72 kB / 475.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1213, allocations: 318.8 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.1214, allocations: 31.92 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.1215, allocations: 38.08 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1216, allocations: 60.83 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1217, allocations: 3.938 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001884/0.1219, allocations: 105.5 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1219, allocations: 4 kB / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1219, allocations: 0 / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1219, allocations: 4 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.122, allocations: 19.92 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.122, allocations: 4.031 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.1221, allocations: 7.938 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1221, allocations: 4 kB / 476.1 MB, free: 8.035 MB / 350.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.1222, allocations: 117.8 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.1222, allocations: 7.906 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.1225, allocations: 122.2 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1225, allocations: 4 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1225, allocations: 0 / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1225, allocations: 3.938 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.1229, allocations: 374.5 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1229, allocations: 0 / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.123, allocations: 23.92 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.123, allocations: 3.938 kB / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.123, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.123, allocations: 0 / 476.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.123, allocations: 4 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1233, allocations: 195.4 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.1233, allocations: 81.02 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1233, allocations: 7.938 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.1234, allocations: 7.984 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1235, allocations: 0 / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1235, allocations: 12 kB / 477 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.1236, allocations: 111.2 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1236, allocations: 3.938 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1238, allocations: 24 kB / 477.1 MB, free: 6.848 MB / 350.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009589/0.1248, allocations: 446.8 kB / 477.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.125, allocations: 67.89 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.125, allocations: 0 / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.1251, allocations: 35.92 kB / 477.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1255, allocations: 19.92 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.1258, allocations: 181.8 kB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1261, allocations: 0.6963 MB / 478.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.1262, allocations: 12.97 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1262, allocations: 19.42 kB / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.1262, allocations: 0 / 478.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.003917/0.1301, allocations: 1.454 MB / 480.1 MB, free: 4.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches