Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001311/0.001311, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.387/1.387, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2015/0.2015, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 69.25 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003172/0.1189, allocations: 1.569 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007256/0.1197, allocations: 419.1 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.1197, allocations: 0 / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1203, allocations: 447.2 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1206, allocations: 255.4 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.121, allocations: 122.8 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1212, allocations: 155.8 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1213, allocations: 11.98 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1214, allocations: 111.7 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1216, allocations: 211.6 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1217, allocations: 4 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.1217, allocations: 19.94 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1218, allocations: 79.75 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.1219, allocations: 103 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1222, allocations: 239 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1222, allocations: 0 / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1222, allocations: 4 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1222, allocations: 4 kB / 473.6 MB, free: 10.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007244/0.123, allocations: 0.6289 MB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.123, allocations: 8.031 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.1231, allocations: 40.38 kB / 474.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1234, allocations: 296.1 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1234, allocations: 4.375 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1235, allocations: 4.375 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1236, allocations: 57.8 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1237, allocations: 0 / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1237, allocations: 4 kB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1237, allocations: 0 / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1238, allocations: 31.91 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1243, allocations: 372.8 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1244, allocations: 38.56 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.1245, allocations: 20.94 kB / 475.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1246, allocations: 4 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1246, allocations: 30.56 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.1246, allocations: 0 / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003617/0.125, allocations: 125.1 kB / 475.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.125, allocations: 55.39 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.1259, allocations: 0.8496 MB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1259, allocations: 25.7 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1261, allocations: 215.9 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1261, allocations: 7.906 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1262, allocations: 17.7 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1263, allocations: 362.7 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.1264, allocations: 15.98 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.1265, allocations: 19.98 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1266, allocations: 36.77 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1266, allocations: 0 / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001933/0.1268, allocations: 97.2 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1268, allocations: 8 kB / 477 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1269, allocations: 4 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1269, allocations: 0 / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.127, allocations: 7.984 kB / 477 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.127, allocations: 11.98 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.127, allocations: 7.906 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1271, allocations: 4.328 kB / 477 MB, free: 7.043 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 (3): * Single equations (assignments): 3 * 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.000193/0.1273, allocations: 209.7 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1273, allocations: 43.53 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1276, allocations: 124.9 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1276, allocations: 0 / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1276, allocations: 4 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1276, allocations: 0 / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1279, allocations: 285.5 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1279, allocations: 0 / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.1279, allocations: 11.98 kB / 477.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1279, allocations: 0 / 477.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1279, allocations: 4 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.128, allocations: 0 / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.128, allocations: 0 / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1282, allocations: 202.8 kB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.1282, allocations: 112.6 kB / 478 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1283, allocations: 0 / 478 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1284, allocations: 8 kB / 478 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1284, allocations: 0 / 478 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1284, allocations: 0 / 478 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000578/0.129, allocations: 0.6511 MB / 478.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.129, allocations: 3.938 kB / 478.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1293, allocations: 16 kB / 478.7 MB, free: 5.281 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 (3): * Single equations (assignments): 3 * 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.0008602/0.1301, allocations: 360.4 kB / 479 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1303, allocations: 39.89 kB / 479 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1303, allocations: 0 / 479 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.1304, allocations: 23.92 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.1308, allocations: 17.97 kB / 479.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1319, allocations: 0.8162 MB / 479.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1323, allocations: 0.8104 MB / 480.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1323, allocations: 15.44 kB / 480.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1324, allocations: 0 / 480.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of Templates: time 0.006779/0.1391, allocations: 3.474 MB / 484.2 MB, free: 15.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches