Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/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.0012/0.0012, 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.372/1.372, allocations: 222.9 MB / 242.5 MB, free: 13.79 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.2081/0.2081, allocations: 44.17 MB / 336.8 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 64.78 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003135/0.1179, allocations: 1.606 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.1188, allocations: 415.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.1189, allocations: 4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1192, allocations: 19.92 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.1194, allocations: 27.91 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1197, allocations: 99.06 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1199, allocations: 55.78 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.12, allocations: 16 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1201, allocations: 15.91 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.1201, allocations: 23.86 kB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1202, allocations: 0 / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1203, allocations: 35.94 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.1203, allocations: 11.92 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1204, allocations: 19.86 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1206, allocations: 55.92 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1206, allocations: 3.938 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1206, allocations: 0 / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1206, allocations: 0 / 471.6 MB, free: 12.43 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.0005152/0.1211, allocations: 387.5 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1212, allocations: 12.03 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1212, allocations: 8.844 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1214, allocations: 184.3 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1215, allocations: 384 / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1215, allocations: 384 / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1217, allocations: 53.75 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1217, allocations: 0 / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1217, allocations: 8 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1217, allocations: 4 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1218, allocations: 23.97 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1223, allocations: 280.8 kB / 472.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1225, allocations: 42.5 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1226, allocations: 24.94 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1226, allocations: 0 / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1226, allocations: 30.56 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1227, allocations: 4 kB / 472.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006238/0.1233, allocations: 149.6 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1233, allocations: 55.41 kB / 472.8 MB, free: 11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1235, allocations: 156.1 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1235, allocations: 29.7 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.1236, allocations: 100.1 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1236, allocations: 11.75 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1237, allocations: 21.7 kB / 473.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1238, allocations: 322.8 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.1239, allocations: 23.98 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1239, allocations: 23.97 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1241, allocations: 56.77 kB / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1241, allocations: 0 / 473.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001951/0.1243, allocations: 81.81 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1243, allocations: 4 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1243, allocations: 4 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1244, allocations: 4 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.1244, allocations: 19.98 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1245, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1245, allocations: 7.984 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1245, allocations: 3.938 kB / 473.7 MB, free: 10.11 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 0.0001128/0.1246, allocations: 122.3 kB / 473.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1247, allocations: 7.906 kB / 473.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.125, allocations: 105.9 kB / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.125, allocations: 0 / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.125, allocations: 0 / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.125, allocations: 4 kB / 473.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.1255, allocations: 354.4 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1255, allocations: 0 / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.1255, allocations: 8 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1255, allocations: 4 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1256, allocations: 4 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1256, allocations: 3.938 kB / 474.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1256, allocations: 3.984 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1258, allocations: 175.4 kB / 474.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1259, allocations: 89 kB / 474.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1259, allocations: 0 / 474.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.126, allocations: 12.12 kB / 474.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.126, allocations: 7.922 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.126, allocations: 8 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.1261, allocations: 117.8 kB / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.1261, allocations: 0 / 474.7 MB, free: 9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1264, allocations: 19.92 kB / 474.7 MB, free: 8.98 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.0009451/0.1273, allocations: 398.4 kB / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1276, allocations: 51.95 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1276, allocations: 0 / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.1277, allocations: 31.92 kB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.128, allocations: 11.98 kB / 475.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1285, allocations: 236.9 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1287, allocations: 0.6926 MB / 476.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1288, allocations: 15.42 kB / 476.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1288, allocations: 0 / 476.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Templates: time 0.003304/0.1321, allocations: 1.41 MB / 477.5 MB, free: 6.242 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches