Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, 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.001217/0.001217, 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.361/1.361, 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.1987/0.1987, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 65.31 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00296/0.1176, allocations: 1.562 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.1183, allocations: 415.2 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.1184, allocations: 0 / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1189, allocations: 447.2 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1193, allocations: 251.4 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1196, allocations: 126.8 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1198, allocations: 151.7 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1199, allocations: 15.97 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.12, allocations: 103.7 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1202, allocations: 207.7 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1203, allocations: 3.984 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.1203, allocations: 23.98 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.1204, allocations: 75.7 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.1205, allocations: 102.9 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1208, allocations: 235.1 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1208, allocations: 0 / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1208, allocations: 4 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1208, allocations: 0 / 473.6 MB, free: 10.68 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.0006312/0.1214, allocations: 0.6251 MB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1215, allocations: 8.031 kB / 474.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.1215, allocations: 48.31 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1218, allocations: 280.3 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1218, allocations: 4.375 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1218, allocations: 384 / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.122, allocations: 57.75 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.122, allocations: 0 / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.122, allocations: 0 / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.122, allocations: 0 / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.1221, allocations: 19.98 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1225, allocations: 380.7 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.1226, allocations: 34.52 kB / 475 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.1227, allocations: 16.91 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1227, allocations: 0 / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.1227, allocations: 30.56 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1227, allocations: 4 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000249/0.123, allocations: 93.14 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.123, allocations: 55.53 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.1238, allocations: 0.8535 MB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1238, allocations: 29.64 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.124, allocations: 232 kB / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.124, allocations: 4 kB / 476.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1241, allocations: 9.719 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1242, allocations: 362.7 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.1243, allocations: 11.98 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1243, allocations: 8 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.1244, allocations: 24.84 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1244, allocations: 0 / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001398/0.1246, allocations: 89.12 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1246, allocations: 4 kB / 476.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1246, allocations: 0 / 476.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1246, allocations: 0 / 476.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.1247, allocations: 20.02 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1247, allocations: 7.984 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.1247, allocations: 0 / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1247, allocations: 0 / 476.9 MB, free: 7.172 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.0001715/0.1249, allocations: 217.7 kB / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.125, allocations: 47.38 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1252, allocations: 100.6 kB / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1252, allocations: 0 / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1252, allocations: 4.031 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1252, allocations: 0 / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1255, allocations: 285.5 kB / 477.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1255, allocations: 0 / 477.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1255, allocations: 4 kB / 477.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1255, allocations: 0 / 477.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1255, allocations: 3.938 kB / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1256, allocations: 0 / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1256, allocations: 0 / 477.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1257, allocations: 191 kB / 477.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1258, allocations: 112.5 kB / 477.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1259, allocations: 0 / 477.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1259, allocations: 0 / 477.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.126, allocations: 0 / 477.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.126, allocations: 4 kB / 477.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005802/0.1266, allocations: 0.6472 MB / 478.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1266, allocations: 4 kB / 478.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1268, allocations: 19.97 kB / 478.5 MB, free: 5.449 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.0007773/0.1276, allocations: 368.1 kB / 478.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1278, allocations: 31.92 kB / 478.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1278, allocations: 0 / 478.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.1278, allocations: 12 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1282, allocations: 21.95 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.1292, allocations: 0.7962 MB / 479.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1296, allocations: 0.8182 MB / 480.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1296, allocations: 11.44 kB / 480.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1296, allocations: 0 / 480.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of Templates: time 0.006221/0.1359, allocations: 3.415 MB / 484 MB, free: 60 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches