Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001203/0.001203, allocations: 194 kB / 18.77 MB, free: 4.742 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2041/0.2041, allocations: 44.18 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 69.31 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 60.81 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00323/0.1122, allocations: 1.693 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.113, allocations: 431.1 kB / 471.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.1131, allocations: 4 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.1136, allocations: 455.2 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.114, allocations: 243.5 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1144, allocations: 126.7 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1146, allocations: 163.6 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1147, allocations: 15.98 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1149, allocations: 111.8 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1151, allocations: 207.6 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1151, allocations: 0 / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1153, allocations: 47.92 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1154, allocations: 87.67 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.1155, allocations: 103 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1157, allocations: 199.7 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1157, allocations: 0 / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1157, allocations: 0 / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1157, allocations: 0 / 473 MB, free: 11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007242/0.1165, allocations: 0.6495 MB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1165, allocations: 8.031 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.1166, allocations: 44.38 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1169, allocations: 292.2 kB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1169, allocations: 8.375 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1169, allocations: 384 / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1171, allocations: 69.73 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1171, allocations: 0 / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1171, allocations: 4 kB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1171, allocations: 0 / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1173, allocations: 39.97 kB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1178, allocations: 400.6 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.118, allocations: 58.55 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.1181, allocations: 24.97 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1181, allocations: 0 / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1182, allocations: 34.56 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1182, allocations: 0 / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.1196, allocations: 463.8 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1197, allocations: 55.34 kB / 475.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.1205, allocations: 0.8535 MB / 476 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1205, allocations: 25.7 kB / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1206, allocations: 215.9 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.1207, allocations: 39.45 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1207, allocations: 25.72 kB / 476.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1209, allocations: 366.8 kB / 476.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.121, allocations: 35.97 kB / 476.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1211, allocations: 43.97 kB / 476.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1214, allocations: 100.8 kB / 476.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1214, allocations: 0 / 476.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003316/0.1217, allocations: 181 kB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1217, allocations: 4 kB / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1218, allocations: 0 / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1218, allocations: 0 / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1219, allocations: 27.92 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1219, allocations: 4 kB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.122, allocations: 11.98 kB / 477 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.122, allocations: 7.938 kB / 477.1 MB, free: 6.73 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 (11): * Single equations (assignments): 11 * 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 0.0002179/0.1222, allocations: 218.3 kB / 477.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.1223, allocations: 39.53 kB / 477.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.1227, allocations: 205.2 kB / 477.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1227, allocations: 7.938 kB / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1227, allocations: 0 / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1227, allocations: 0 / 477.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.1235, allocations: 0.5589 MB / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1235, allocations: 0 / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1236, allocations: 31.97 kB / 478.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1236, allocations: 4 kB / 478.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1237, allocations: 4 kB / 478.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1237, allocations: 4 kB / 478.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1237, allocations: 0 / 478.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1241, allocations: 285.1 kB / 478.4 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.1242, allocations: 112.5 kB / 478.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1242, allocations: 8 kB / 478.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1243, allocations: 11.98 kB / 478.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.1244, allocations: 11.97 kB / 478.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1244, allocations: 12 kB / 478.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.1251, allocations: 0.6433 MB / 479.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1251, allocations: 0 / 479.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1254, allocations: 32 kB / 479.2 MB, free: 4.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001054/0.1264, allocations: 471.8 kB / 479.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.1268, allocations: 103.9 kB / 479.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1268, allocations: 0 / 479.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1269, allocations: 64.03 kB / 479.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1273, allocations: 31.72 kB / 479.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1287, allocations: 0.9529 MB / 480.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1291, allocations: 0.8301 MB / 481.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1292, allocations: 19.44 kB / 481.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1292, allocations: 3.938 kB / 481.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007747/0.137, allocations: 4.031 MB / 485.7 MB, free: 14.06 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches