Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 93.97 kB / 18 MB, free: 5.602 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.001047/0.001047, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.383/1.383, allocations: 223.3 MB / 242.9 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.26 MB / 338.3 MB, free: 2.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8.281 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00221/0.1107, allocations: 1.333 MB / 474.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1125, allocations: 1.035 MB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.1126, allocations: 0 / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1128, allocations: 23.92 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.113, allocations: 31.91 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1135, allocations: 167 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1137, allocations: 55.84 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1138, allocations: 23.97 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.1139, allocations: 19.88 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1141, allocations: 31.36 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1141, allocations: 8 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1143, allocations: 47.97 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.1143, allocations: 15.92 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.1144, allocations: 45.58 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1146, allocations: 80.03 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1146, allocations: 0 / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1147, allocations: 0 / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1147, allocations: 0 / 475.8 MB, free: 10.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005726/0.1152, allocations: 391.2 kB / 476.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1153, allocations: 8.031 kB / 476.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1153, allocations: 8.844 kB / 476.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1156, allocations: 184.3 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1156, allocations: 4.375 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1156, allocations: 384 / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1159, allocations: 87.48 kB / 476.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1159, allocations: 4 kB / 476.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1159, allocations: 4 kB / 476.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1159, allocations: 4 kB / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.1161, allocations: 43.91 kB / 476.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1166, allocations: 304.8 kB / 476.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1167, allocations: 50.55 kB / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.1168, allocations: 36.92 kB / 476.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1169, allocations: 7.938 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1169, allocations: 34.5 kB / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1169, allocations: 0 / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000879/0.1178, allocations: 261.1 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1179, allocations: 77.11 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.118, allocations: 137.8 kB / 477.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.118, allocations: 29.7 kB / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.1181, allocations: 92.05 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1181, allocations: 31.7 kB / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1182, allocations: 9.719 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1183, allocations: 330.8 kB / 477.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1184, allocations: 43.97 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.1186, allocations: 61.69 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1189, allocations: 105.1 kB / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1189, allocations: 0 / 478.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003252/0.1192, allocations: 141.5 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1193, allocations: 12 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1193, allocations: 0 / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1193, allocations: 0 / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1194, allocations: 23.98 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1195, allocations: 0 / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.1195, allocations: 15.92 kB / 478.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1196, allocations: 12 kB / 478.3 MB, free: 7.637 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 (7): * Single equations (assignments): 7 * 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.384e-05/0.1197, allocations: 118.4 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1197, allocations: 11.84 kB / 478.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.1201, allocations: 157.9 kB / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1201, allocations: 0 / 478.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1201, allocations: 3.984 kB / 478.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1201, allocations: 3.938 kB / 478.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.1207, allocations: 414.5 kB / 479 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1207, allocations: 3.938 kB / 479 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.1209, allocations: 23.98 kB / 479 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1209, allocations: 0 / 479 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1209, allocations: 7.938 kB / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1209, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1209, allocations: 0 / 479.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.1213, allocations: 243.3 kB / 479.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1213, allocations: 89 kB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1214, allocations: 11.94 kB / 479.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1215, allocations: 11.98 kB / 479.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1215, allocations: 4 kB / 479.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.1215, allocations: 8 kB / 479.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.553e-05/0.1216, allocations: 107.2 kB / 479.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1216, allocations: 4 kB / 479.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1219, allocations: 24 kB / 479.5 MB, free: 6.309 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 (7): * Single equations (assignments): 7 * 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.001066/0.123, allocations: 448.2 kB / 480 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.1233, allocations: 103.9 kB / 480.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1233, allocations: 4 kB / 480.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1235, allocations: 59.91 kB / 480.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1238, allocations: 19.92 kB / 480.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.1243, allocations: 235 kB / 480.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1246, allocations: 0.6965 MB / 481.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.1247, allocations: 19.42 kB / 481.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1247, allocations: 0 / 481.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Templates: time 0.003804/0.1285, allocations: 1.788 MB / 482.9 MB, free: 3.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches