Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.91 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.000936, allocations: 179.9 kB / 16.57 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.7 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3525/0.3525, allocations: 43.54 MB / 314.5 MB, free: 8.73 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004727, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001722/0.1199, allocations: 1.31 MB / 444.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005104/0.1204, allocations: 291.9 kB / 444.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.1205, allocations: 3.938 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.121, allocations: 435.2 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1212, allocations: 239.5 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1216, allocations: 139.8 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1218, allocations: 115.8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1219, allocations: 20.16 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.122, allocations: 99.78 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1222, allocations: 147.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1222, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.1223, allocations: 23.94 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.1224, allocations: 83.67 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1224, allocations: 65.52 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1226, allocations: 188 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.1226, allocations: 0 / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1226, allocations: 0 / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1226, allocations: 4 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006447/0.1233, allocations: 0.5948 MB / 446.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1233, allocations: 19.94 kB / 446.5 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.1234, allocations: 47.39 kB / 446.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1237, allocations: 283.3 kB / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1237, allocations: 0 / 446.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1237, allocations: 4 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1239, allocations: 57.67 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1239, allocations: 4 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1239, allocations: 0 / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1239, allocations: 0 / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.124, allocations: 35.94 kB / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1244, allocations: 404.6 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1246, allocations: 46.55 kB / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1247, allocations: 0 / 447.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1247, allocations: 34.56 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1247, allocations: 0 / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.1252, allocations: 252 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1253, allocations: 55.39 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.126, allocations: 0.8652 MB / 448.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.126, allocations: 29.7 kB / 448.6 MB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1262, allocations: 216.1 kB / 448.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1262, allocations: 35.64 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.1262, allocations: 0 / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1264, allocations: 354.8 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.1265, allocations: 23.98 kB / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.1265, allocations: 35.97 kB / 449.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.1266, allocations: 23.98 kB / 449.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1266, allocations: 0 / 449.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.1268, allocations: 133.4 kB / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1268, allocations: 7.953 kB / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1268, allocations: 288 / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1269, allocations: 0 / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.1269, allocations: 15.98 kB / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1269, allocations: 0 / 449.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.127, allocations: 7.984 kB / 449.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.127, allocations: 15.86 kB / 449.4 MB, free: 6.148 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1272, allocations: 213.8 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.1272, allocations: 47.42 kB / 449.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1275, allocations: 149 kB / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1275, allocations: 0 / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1275, allocations: 4 kB / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1275, allocations: 3.984 kB / 449.8 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.128, allocations: 474.4 kB / 450.3 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.128, allocations: 0 / 450.3 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.1281, allocations: 19.94 kB / 450.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1281, allocations: 4 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1281, allocations: 4 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1281, allocations: 0 / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1281, allocations: 0 / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1284, allocations: 231.1 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1284, allocations: 116.5 kB / 450.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1285, allocations: 11.95 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.1286, allocations: 4 kB / 450.7 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1286, allocations: 7.984 kB / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1286, allocations: 0 / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005336/0.1292, allocations: 0.655 MB / 451.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1292, allocations: 0 / 451.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1294, allocations: 24 kB / 451.4 MB, free: 4.102 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007675/0.1302, allocations: 400.9 kB / 451.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1304, allocations: 59.97 kB / 451.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1304, allocations: 0 / 451.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.1305, allocations: 39.91 kB / 451.9 MB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1308, allocations: 22.56 kB / 451.9 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009646/0.1317, allocations: 0.8256 MB / 452.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1321, allocations: 0.834 MB / 453.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.1322, allocations: 23.98 kB / 453.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1322, allocations: 11.44 kB / 453.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1322, allocations: 0 / 453.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of Templates: time 0.004433/0.1367, allocations: 1.384 MB / 455 MB, free: 496 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches