Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 108.8 kB / 16.41 MB, free: 6.5 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.001564/0.001564, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.728/1.728, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001293/0.001293, allocations: 59.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003468/0.1246, allocations: 1.596 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.1253, allocations: 331.5 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1254, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.1259, allocations: 451.1 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.1262, allocations: 259.4 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1266, allocations: 107.8 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.1268, allocations: 159.6 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.1269, allocations: 16.17 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1271, allocations: 107.8 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1273, allocations: 203.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1273, allocations: 4 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1274, allocations: 31.92 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.1275, allocations: 79.69 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1276, allocations: 99 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1279, allocations: 262.6 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1279, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1279, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1279, allocations: 3.984 kB / 0.4915 GB, free: 8.102 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.000643/0.1286, allocations: 0.6447 MB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1286, allocations: 11.89 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1287, allocations: 48.59 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1289, allocations: 296.7 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.129, allocations: 384 / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.129, allocations: 8.375 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1291, allocations: 57.61 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1292, allocations: 3.953 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.1292, allocations: 0 / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1292, allocations: 0 / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.1293, allocations: 27.97 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1297, allocations: 380.7 kB / 0.4929 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1299, allocations: 46.56 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.13, allocations: 12.86 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.13, allocations: 0 / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.13, allocations: 38.59 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.13, allocations: 0 / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005636/0.1306, allocations: 244.8 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1306, allocations: 55.34 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.1314, allocations: 0.8574 MB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1315, allocations: 25.7 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1316, allocations: 220 kB / 0.4944 GB, free: 4.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1316, allocations: 19.89 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.1317, allocations: 17.72 kB / 0.4944 GB, free: 4.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1318, allocations: 358.8 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.1319, allocations: 23.92 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.702e-05/0.132, allocations: 19.97 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1321, allocations: 45.03 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1321, allocations: 0 / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.1323, allocations: 117.4 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1323, allocations: 15.92 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1323, allocations: 0 / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1324, allocations: 0 / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.1324, allocations: 12 kB / 0.495 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1324, allocations: 0 / 0.495 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.1325, allocations: 15.88 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1325, allocations: 0 / 0.495 GB, free: 4.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.1327, allocations: 217.7 kB / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1327, allocations: 47.72 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.133, allocations: 129 kB / 0.4954 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.133, allocations: 3.938 kB / 0.4954 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.133, allocations: 0 / 0.4954 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.133, allocations: 3.938 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.1335, allocations: 450.5 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1336, allocations: 0 / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.1336, allocations: 19.98 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1336, allocations: 0 / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1336, allocations: 3.938 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1336, allocations: 192 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1336, allocations: 0 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1339, allocations: 219.2 kB / 0.496 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.134, allocations: 116.8 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.134, allocations: 3.938 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.1341, allocations: 4 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1341, allocations: 4 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1341, allocations: 3.984 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005562/0.1347, allocations: 0.6511 MB / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1347, allocations: 0 / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1349, allocations: 23.94 kB / 0.4968 GB, free: 2.309 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 (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.0008327/0.1358, allocations: 408.2 kB / 0.4972 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.136, allocations: 47.91 kB / 0.4972 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.136, allocations: 0 / 0.4972 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.136, allocations: 23.98 kB / 0.4973 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1364, allocations: 33.56 kB / 0.4973 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.1373, allocations: 0.7787 MB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1378, allocations: 0.826 MB / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.1378, allocations: 4 kB / 0.4989 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1378, allocations: 11.44 kB / 0.4989 GB, free: 176 kB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.1378, allocations: 4 kB / 0.4989 GB, free: 172 kB / 382.1 MB Notification: Performance of Templates: time 0.00434/0.1422, allocations: 1.463 MB / 0.5003 GB, free: 14.7 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches