Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 108.2 kB / 18.39 MB, free: 4.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.001206/0.001206, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.309/1.309, allocations: 222.9 MB / 243 MB, free: 15.12 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.2074/0.2074, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 73.5 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1197, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003021/0.1228, allocations: 1.634 MB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.1236, allocations: 455 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.1236, allocations: 0 / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.1239, allocations: 79.7 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1241, allocations: 59.8 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.1245, allocations: 174.7 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1247, allocations: 87.73 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1248, allocations: 19.98 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.1248, allocations: 35.91 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.1249, allocations: 51.77 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1249, allocations: 4 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.125, allocations: 47.98 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.1251, allocations: 39.83 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1252, allocations: 27.75 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1253, allocations: 107.7 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1254, allocations: 0 / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1254, allocations: 0 / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1254, allocations: 0 / 473.5 MB, free: 10.82 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.0004643/0.1258, allocations: 419 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1259, allocations: 12.03 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1259, allocations: 12.75 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1261, allocations: 207.9 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.1261, allocations: 4.375 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1262, allocations: 4.375 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1263, allocations: 73.77 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1264, allocations: 0 / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1264, allocations: 8 kB / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1264, allocations: 0 / 474.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1265, allocations: 43.91 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1269, allocations: 324.7 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1272, allocations: 62.58 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.1273, allocations: 24.97 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1273, allocations: 4 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1273, allocations: 38.55 kB / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1273, allocations: 0 / 474.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001331/0.1287, allocations: 417.2 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1287, allocations: 55.34 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1289, allocations: 201.9 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1289, allocations: 25.7 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.129, allocations: 108.1 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.129, allocations: 35.41 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1291, allocations: 29.7 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1292, allocations: 326.8 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1293, allocations: 55.89 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1294, allocations: 51.97 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.1297, allocations: 125 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1297, allocations: 4 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003061/0.13, allocations: 165.5 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.13, allocations: 4 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.13, allocations: 0 / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1301, allocations: 0 / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1302, allocations: 35.86 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1302, allocations: 4 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1302, allocations: 15.89 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1303, allocations: 4 kB / 476.3 MB, free: 7.75 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 9.912e-05/0.1304, allocations: 129.8 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.1304, allocations: 11.91 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.1308, allocations: 190.9 kB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.1308, allocations: 11.94 kB / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1308, allocations: 0 / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1308, allocations: 3.938 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.1315, allocations: 0.4921 MB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1315, allocations: 4 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.1316, allocations: 31.98 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1316, allocations: 0 / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.1316, allocations: 0 / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1316, allocations: 4.188 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1316, allocations: 4 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.132, allocations: 273 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.132, allocations: 88.92 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1321, allocations: 4 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/0.1321, allocations: 11.98 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.1322, allocations: 7.984 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1322, allocations: 8 kB / 477.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1323, allocations: 164.1 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1323, allocations: 0 / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1326, allocations: 27.98 kB / 477.8 MB, free: 6.188 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.0009596/0.1336, allocations: 469.6 kB / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1339, allocations: 127.8 kB / 478.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1339, allocations: 0 / 478.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1341, allocations: 71.89 kB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1344, allocations: 34.33 kB / 478.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.1349, allocations: 320.2 kB / 478.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1352, allocations: 0.7158 MB / 479.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.198e-05/0.1353, allocations: 32.52 kB / 479.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1353, allocations: 15.44 kB / 479.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1354, allocations: 0 / 479.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of Templates: time 0.00424/0.1396, allocations: 1.592 MB / 481.1 MB, free: 2.961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches