Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 101.5 kB / 17.85 MB, free: 5.664 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.001988/0.001988, allocations: 194 kB / 18.76 MB, free: 4.746 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.43 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.2136/0.2136, allocations: 44.18 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.19 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003223/0.1236, allocations: 1.618 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.1244, allocations: 411.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.1245, allocations: 4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1248, allocations: 19.92 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1249, allocations: 27.91 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1253, allocations: 103.2 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1254, allocations: 59.72 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1255, allocations: 12 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.1256, allocations: 15.92 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.1257, allocations: 27.84 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1257, allocations: 0 / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.1258, allocations: 27.98 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.1258, allocations: 19.94 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1259, allocations: 23.8 kB / 471.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.126, allocations: 63.91 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1261, allocations: 0 / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1261, allocations: 3.938 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1261, allocations: 0 / 471.6 MB, free: 12.41 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.00048/0.1265, allocations: 379.5 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1266, allocations: 12.02 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1267, allocations: 8.844 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1269, allocations: 188.2 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1269, allocations: 384 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1269, allocations: 4.375 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1271, allocations: 61.78 kB / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1271, allocations: 0 / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1271, allocations: 0 / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1271, allocations: 0 / 472.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.1272, allocations: 23.92 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.1276, allocations: 288.8 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1279, allocations: 42.56 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1279, allocations: 20.8 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.128, allocations: 8.016 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.128, allocations: 34.56 kB / 472.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.128, allocations: 0 / 472.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006015/0.1286, allocations: 149.3 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1287, allocations: 51.41 kB / 472.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1288, allocations: 164.2 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1289, allocations: 33.7 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1289, allocations: 96.12 kB / 473.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.129, allocations: 19.66 kB / 473.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.129, allocations: 21.7 kB / 473.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1291, allocations: 322.8 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.1292, allocations: 19.98 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.1293, allocations: 23.97 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1294, allocations: 48.83 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1294, allocations: 8 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001936/0.1296, allocations: 89.7 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1296, allocations: 7.938 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1296, allocations: 3.984 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1297, allocations: 0 / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.1297, allocations: 12 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1298, allocations: 0 / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.1298, allocations: 7.984 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1298, allocations: 4 kB / 473.7 MB, free: 10.07 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 (5): * Single equations (assignments): 5 * 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 8.526e-05/0.1299, allocations: 122.3 kB / 473.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1299, allocations: 7.906 kB / 473.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.1302, allocations: 101.9 kB / 473.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1302, allocations: 0 / 473.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1302, allocations: 0 / 473.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1302, allocations: 0 / 473.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.1306, allocations: 354.5 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1306, allocations: 4 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.1307, allocations: 11.98 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1307, allocations: 0 / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1307, allocations: 7.938 kB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.1307, allocations: 7.875 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1308, allocations: 0 / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.131, allocations: 183.4 kB / 474.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.131, allocations: 85.02 kB / 474.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1311, allocations: 256 / 474.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.1311, allocations: 7.938 kB / 474.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1312, allocations: 11.98 kB / 474.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1312, allocations: 4 kB / 474.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1313, allocations: 123.2 kB / 474.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1313, allocations: 4 kB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1316, allocations: 12 kB / 474.7 MB, free: 8.941 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 (5): * Single equations (assignments): 5 * 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.0009257/0.1325, allocations: 398.9 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1327, allocations: 55.89 kB / 475.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1327, allocations: 0 / 475.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.1328, allocations: 27.98 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1332, allocations: 17.81 kB / 475.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.1336, allocations: 237.8 kB / 475.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1339, allocations: 0.7043 MB / 476.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.1339, allocations: 15.42 kB / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1339, allocations: 0 / 476.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003208/0.1371, allocations: 1.433 MB / 477.6 MB, free: 6.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches