Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001604, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 90.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004786, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002395/0.124, allocations: 1.271 MB / 491.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.1248, allocations: 271.9 kB / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.1249, allocations: 0 / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.1256, allocations: 431.2 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.1261, allocations: 239.5 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1266, allocations: 99.73 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1268, allocations: 115.8 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.1269, allocations: 4 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1271, allocations: 103.8 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1274, allocations: 147.7 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1275, allocations: 0 / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.1275, allocations: 12 kB / 492.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1277, allocations: 75.75 kB / 493 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1278, allocations: 73.45 kB / 493 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1281, allocations: 175.7 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1281, allocations: 4 kB / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1281, allocations: 0 / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1281, allocations: 0 / 493.2 MB, free: 6.328 MB / 330.7 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.0009535/0.1291, allocations: 0.5952 MB / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1291, allocations: 8.031 kB / 493.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.1292, allocations: 51.39 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.1296, allocations: 275.4 kB / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1296, allocations: 0 / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1297, allocations: 15.92 kB / 494.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1299, allocations: 53.67 kB / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1299, allocations: 0 / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1299, allocations: 0 / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.13, allocations: 0 / 494.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1302, allocations: 43.97 kB / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.1308, allocations: 372.8 kB / 494.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.131, allocations: 46.48 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.131, allocations: 4 kB / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1311, allocations: 34.56 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1311, allocations: 0 / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004999/0.1316, allocations: 125.2 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1317, allocations: 63.36 kB / 494.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.133, allocations: 0.8613 MB / 495.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1331, allocations: 29.7 kB / 495.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.1333, allocations: 230.6 kB / 496 MB, free: 3.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1333, allocations: 15.75 kB / 496 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1334, allocations: 0 / 496 MB, free: 3.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1335, allocations: 314.8 kB / 496.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1337, allocations: 27.92 kB / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1338, allocations: 19.98 kB / 496.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1339, allocations: 16 kB / 496.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1339, allocations: 0 / 496.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002993/0.1342, allocations: 77.66 kB / 496.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1343, allocations: 10.59 kB / 496.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1343, allocations: 0 / 496.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.1343, allocations: 4 kB / 496.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1345, allocations: 8 kB / 496.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1345, allocations: 7.891 kB / 496.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1346, allocations: 11.98 kB / 496.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1346, allocations: 0 / 496.5 MB, free: 2.832 MB / 330.7 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 (3): * Single equations (assignments): 3 * 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.0003168/0.135, allocations: 209.8 kB / 496.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.1351, allocations: 47.42 kB / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.1355, allocations: 129 kB / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1355, allocations: 0 / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1355, allocations: 0 / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1355, allocations: 7.953 kB / 496.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.1359, allocations: 277.6 kB / 497.1 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1359, allocations: 384 / 497.1 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.136, allocations: 11.98 kB / 497.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.1361, allocations: 4 kB / 497.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1361, allocations: 0 / 497.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1361, allocations: 3.938 kB / 497.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1361, allocations: 4 kB / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.1365, allocations: 207 kB / 497.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1367, allocations: 116.5 kB / 497.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1367, allocations: 8 kB / 497.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1369, allocations: 11.98 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1369, allocations: 0 / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.137, allocations: 4 kB / 497.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.138, allocations: 0.6472 MB / 498.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.138, allocations: 0 / 498.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.1383, allocations: 20 kB / 498.2 MB, free: 1.043 MB / 330.7 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 (3): * Single equations (assignments): 3 * 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.00102/0.1394, allocations: 359.2 kB / 498.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1397, allocations: 43.91 kB / 498.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1397, allocations: 4 kB / 498.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1398, allocations: 23.98 kB / 498.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1402, allocations: 17.92 kB / 498.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1419, allocations: 0.8467 MB / 499.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.1425, allocations: 0.8301 MB / 0.4886 GB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.1426, allocations: 11.44 kB / 0.4886 GB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1426, allocations: 0 / 0.4886 GB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.0105/0.1531, allocations: 3.458 MB / 0.4919 GB, free: 11.43 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches