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.001496/0.001496, allocations: 113.4 kB / 17.86 MB, free: 5.629 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: 201.9 kB / 18.77 MB, free: 4.715 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.453/1.453, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.198/0.198, allocations: 44.17 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.25 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003408/0.1151, allocations: 1.641 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1167, allocations: 0.9998 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1168, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1171, allocations: 23.92 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1173, allocations: 31.91 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1176, allocations: 75.09 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1177, allocations: 63.83 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1178, allocations: 32.09 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.1179, allocations: 15.92 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1181, allocations: 35.84 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1181, allocations: 0 / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1182, allocations: 47.97 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.1183, allocations: 11.94 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.1184, allocations: 27.78 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1185, allocations: 72.19 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1185, allocations: 0 / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1185, allocations: 7.938 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1186, allocations: 4 kB / 472.3 MB, free: 11.76 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.0004762/0.119, allocations: 379.3 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1191, allocations: 12.03 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.1191, allocations: 8.844 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1194, allocations: 188.2 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1194, allocations: 4.375 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1194, allocations: 4.375 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1196, allocations: 83.25 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1196, allocations: 3.906 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1196, allocations: 0 / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1196, allocations: 4 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1198, allocations: 31.97 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1202, allocations: 284.8 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1203, allocations: 58.5 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1204, allocations: 20.84 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1204, allocations: 0 / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1204, allocations: 34.69 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1205, allocations: 0 / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006733/0.1211, allocations: 185.3 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1212, allocations: 77.11 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1213, allocations: 144.6 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1214, allocations: 29.7 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.1214, allocations: 88.14 kB / 473.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1215, allocations: 35.48 kB / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1215, allocations: 21.72 kB / 473.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1216, allocations: 322.8 kB / 474.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.1217, allocations: 23.98 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.1218, allocations: 45.62 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.122, allocations: 60.83 kB / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.122, allocations: 0 / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/0.1222, allocations: 97.83 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1222, allocations: 4 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1222, allocations: 0 / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1223, allocations: 4 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1224, allocations: 19.92 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1224, allocations: 4.062 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1224, allocations: 15.92 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1225, allocations: 4 kB / 474.5 MB, free: 9.266 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 9.363e-05/0.1226, allocations: 118.4 kB / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1226, allocations: 7.906 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.1229, allocations: 110.4 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1229, allocations: 3.938 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1229, allocations: 0 / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1229, allocations: 3.938 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1234, allocations: 390.5 kB / 475.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1234, allocations: 0 / 475.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.1235, allocations: 19.98 kB / 475.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1235, allocations: 3.938 kB / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1235, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1235, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1235, allocations: 3.938 kB / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1238, allocations: 195.4 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.1238, allocations: 81.02 kB / 475.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1238, allocations: 11.92 kB / 475.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1239, allocations: 8 kB / 475.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.124, allocations: 7.969 kB / 475.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.124, allocations: 4 kB / 475.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.287e-05/0.1241, allocations: 107.2 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1241, allocations: 3.938 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1243, allocations: 35.98 kB / 475.6 MB, free: 8.066 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.001018/0.1254, allocations: 434.7 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1256, allocations: 67.91 kB / 476.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1256, allocations: 0 / 476.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.1257, allocations: 31.97 kB / 476.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1261, allocations: 21.77 kB / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.1265, allocations: 237.3 kB / 476.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1268, allocations: 0.6926 MB / 477.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1269, allocations: 19.42 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1269, allocations: 0 / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Templates: time 0.003686/0.1306, allocations: 1.724 MB / 478.8 MB, free: 4.965 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 -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