Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 98.36 kB / 18.01 MB, free: 5.602 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.001522/0.001522, allocations: 180.8 kB / 18.91 MB, free: 4.738 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.408/1.408, allocations: 223.3 MB / 243 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1932/0.1932, allocations: 44.24 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002058/0.1184, allocations: 1.329 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.12, allocations: 1.035 MB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.1201, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1203, allocations: 19.94 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1205, allocations: 39.84 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1209, allocations: 154.9 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.121, allocations: 63.83 kB / 475.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1212, allocations: 23.97 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1212, allocations: 23.86 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1213, allocations: 23.86 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1214, allocations: 4 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1215, allocations: 51.95 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1216, allocations: 11.94 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.1216, allocations: 49.56 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1218, allocations: 76.09 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1218, allocations: 4 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1218, allocations: 0 / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1218, allocations: 0 / 475.8 MB, free: 10.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004782/0.1223, allocations: 387.2 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1224, allocations: 15.97 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1224, allocations: 4.844 kB / 476.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1226, allocations: 184.3 kB / 476.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1226, allocations: 8.375 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1226, allocations: 384 / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1228, allocations: 79.52 kB / 476.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1229, allocations: 3.938 kB / 476.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1229, allocations: 4 kB / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1229, allocations: 4 kB / 476.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.123, allocations: 51.94 kB / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.1235, allocations: 296.8 kB / 476.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1236, allocations: 62.48 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.1237, allocations: 28.88 kB / 476.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1237, allocations: 4 kB / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1238, allocations: 34.56 kB / 477 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1238, allocations: 0 / 477 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00081/0.1246, allocations: 257.1 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1247, allocations: 77.11 kB / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1248, allocations: 145.2 kB / 477.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1248, allocations: 29.7 kB / 477.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.1249, allocations: 96.03 kB / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1249, allocations: 27.72 kB / 477.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.1249, allocations: 9.719 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.125, allocations: 326.8 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1252, allocations: 47.97 kB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1253, allocations: 61.67 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.1256, allocations: 104.8 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1256, allocations: 0 / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000301/0.1259, allocations: 137.5 kB / 478.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1259, allocations: 11.98 kB / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1259, allocations: 0 / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.126, allocations: 0 / 478.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1261, allocations: 27.98 kB / 478.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.1261, allocations: 320 / 478.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.1262, allocations: 15.92 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1262, allocations: 8 kB / 478.3 MB, free: 7.688 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 (7): * Single equations (assignments): 7 * 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.882e-05/0.1263, allocations: 114.4 kB / 478.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1263, allocations: 7.906 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.1267, allocations: 165.9 kB / 478.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1267, allocations: 0 / 478.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1267, allocations: 4 kB / 478.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1267, allocations: 3.938 kB / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.1273, allocations: 422.4 kB / 479 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1273, allocations: 0 / 479 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.1274, allocations: 23.98 kB / 479 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1274, allocations: 3.984 kB / 479 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1274, allocations: 3.938 kB / 479 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1274, allocations: 7.938 kB / 479.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1275, allocations: 4 kB / 479.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1278, allocations: 235.7 kB / 479.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.1279, allocations: 89.02 kB / 479.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1279, allocations: 7.938 kB / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.128, allocations: 11.98 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1281, allocations: 15.91 kB / 479.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1281, allocations: 4 kB / 479.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.1281, allocations: 103.3 kB / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1281, allocations: 0 / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1284, allocations: 27.98 kB / 479.5 MB, free: 6.352 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 (7): * Single equations (assignments): 7 * 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.001004/0.1294, allocations: 438.3 kB / 480 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1298, allocations: 107.9 kB / 480.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1298, allocations: 3.938 kB / 480.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1299, allocations: 67.89 kB / 480.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1302, allocations: 15.09 kB / 480.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.1307, allocations: 235 kB / 480.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.131, allocations: 0.7005 MB / 481.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.131, allocations: 15.44 kB / 481.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.131, allocations: 0 / 481.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Templates: time 0.003764/0.1348, allocations: 1.795 MB / 482.9 MB, free: 3.105 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches