Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001057/0.001057, allocations: 188 kB / 19.34 MB, free: 3.641 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.14 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.2043/0.2043, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 66.12 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002939/0.1208, allocations: 1.564 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.1216, allocations: 439.1 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.1217, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.1222, allocations: 447.1 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1225, allocations: 255.4 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1229, allocations: 166.4 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1231, allocations: 163.7 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.1232, allocations: 12 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1233, allocations: 103.8 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1235, allocations: 207.6 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1236, allocations: 8 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.1236, allocations: 23.98 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.405e-05/0.1237, allocations: 87.67 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.1238, allocations: 95.06 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1241, allocations: 239 kB / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1241, allocations: 0 / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1241, allocations: 0 / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1241, allocations: 0 / 474.5 MB, free: 9.871 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.000635/0.1248, allocations: 0.6219 MB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1248, allocations: 12.03 kB / 475.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.1249, allocations: 52.38 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1252, allocations: 292.2 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1252, allocations: 4.375 kB / 475.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1252, allocations: 4.375 kB / 475.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1253, allocations: 49.81 kB / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1254, allocations: 0 / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1254, allocations: 0 / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1254, allocations: 0 / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1255, allocations: 31.91 kB / 475.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.126, allocations: 384.7 kB / 475.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.1261, allocations: 34.56 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1261, allocations: 12.92 kB / 476 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1262, allocations: 4 kB / 476 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1262, allocations: 34.56 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1262, allocations: 0 / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002589/0.1265, allocations: 101 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1265, allocations: 55.41 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007691/0.1273, allocations: 0.8613 MB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1273, allocations: 25.7 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1275, allocations: 216.1 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1275, allocations: 8.031 kB / 477.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1275, allocations: 21.64 kB / 477.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1277, allocations: 362.7 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.1277, allocations: 11.98 kB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.1278, allocations: 8 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.1278, allocations: 28.78 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1279, allocations: 4.062 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001405/0.128, allocations: 93.2 kB / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.128, allocations: 4 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.128, allocations: 0 / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1281, allocations: 3.984 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.1281, allocations: 4 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1281, allocations: 4 kB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.1282, allocations: 3.984 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1282, allocations: 0 / 477.8 MB, free: 6.324 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 (2): * Single equations (assignments): 2 * 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.0001726/0.1284, allocations: 217.8 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.1284, allocations: 47.38 kB / 478 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.1286, allocations: 112.5 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1286, allocations: 0 / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1286, allocations: 0 / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1286, allocations: 0 / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1289, allocations: 289.5 kB / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1289, allocations: 0 / 478.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.129, allocations: 8.031 kB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.129, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.129, allocations: 4 kB / 478.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.129, allocations: 0 / 478.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.129, allocations: 0 / 478.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1292, allocations: 194.8 kB / 478.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.1293, allocations: 112.6 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1293, allocations: 32 / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1294, allocations: 8 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1294, allocations: 3.984 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1294, allocations: 0 / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.13, allocations: 0.6472 MB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.13, allocations: 0 / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1303, allocations: 20 kB / 479.4 MB, free: 4.578 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 (2): * Single equations (assignments): 2 * 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.0008028/0.1311, allocations: 355.1 kB / 479.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1312, allocations: 23.98 kB / 479.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1312, allocations: 3.938 kB / 479.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/0.1313, allocations: 19.92 kB / 479.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1317, allocations: 33.73 kB / 479.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.1326, allocations: 0.767 MB / 480.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1331, allocations: 0.8182 MB / 481.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.1331, allocations: 7.984 kB / 481.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1332, allocations: 11.44 kB / 481.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1332, allocations: 0 / 481.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of Templates: time 0.004351/0.1375, allocations: 1.262 MB / 482.7 MB, free: 1.367 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches