Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 188.5 kB / 16.4 MB, free: 5.625 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.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001175/0.001175, allocations: 94.81 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.2994/0.2994, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004529, allocations: 16 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 58.85 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002417/0.1331, allocations: 1.252 MB / 491.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.134, allocations: 283.9 kB / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.134, allocations: 0 / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1343, allocations: 75.77 kB / 491.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1345, allocations: 51.88 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1349, allocations: 63.8 kB / 491.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.135, allocations: 51.86 kB / 492 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.1352, allocations: 7.938 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.1352, allocations: 27.91 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1354, allocations: 39.89 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1354, allocations: 0 / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.1355, allocations: 16 kB / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.1355, allocations: 19.91 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.1356, allocations: 37.64 kB / 492.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1358, allocations: 67.84 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1358, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1358, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1358, allocations: 0 / 492.2 MB, free: 7.324 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.000557/0.1364, allocations: 391.3 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1364, allocations: 12.02 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.1365, allocations: 11.86 kB / 492.6 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1368, allocations: 198.8 kB / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1368, allocations: 0 / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1368, allocations: 0 / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.137, allocations: 45.69 kB / 492.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1371, allocations: 0 / 492.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1371, allocations: 8 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1371, allocations: 4 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1372, allocations: 23.97 kB / 492.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1377, allocations: 280.8 kB / 493.2 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.138, allocations: 50.5 kB / 493.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.138, allocations: 0 / 493.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1381, allocations: 30.56 kB / 493.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1381, allocations: 0 / 493.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008313/0.1389, allocations: 169.3 kB / 493.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.139, allocations: 51.41 kB / 493.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1393, allocations: 202.2 kB / 493.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1393, allocations: 25.7 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.1394, allocations: 174.4 kB / 493.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1395, allocations: 15.8 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.1395, allocations: 4 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1397, allocations: 314.8 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1398, allocations: 19.98 kB / 494.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1399, allocations: 23.98 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1401, allocations: 23.98 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1401, allocations: 3.938 kB / 494.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000313/0.1404, allocations: 77.67 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1404, allocations: 10.66 kB / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1405, allocations: 3.938 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1405, allocations: 4 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1406, allocations: 19.94 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1407, allocations: 0 / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1407, allocations: 4 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1408, allocations: 7.984 kB / 494.4 MB, free: 4.949 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 (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.0001332/0.1409, allocations: 121.8 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.141, allocations: 7.906 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.1414, allocations: 106.2 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.1414, allocations: 3.984 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1414, allocations: 3.953 kB / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1414, allocations: 4.281 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.1421, allocations: 358.4 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1421, allocations: 0 / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1422, allocations: 15.98 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1422, allocations: 3.984 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1423, allocations: 3.953 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1423, allocations: 4 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1423, allocations: 4 kB / 495 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1427, allocations: 183.4 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1427, allocations: 85.02 kB / 495.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1428, allocations: 4 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1429, allocations: 15.94 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.143, allocations: 0 / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.143, allocations: 4 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.1432, allocations: 159.2 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1432, allocations: 3.938 kB / 495.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.1436, allocations: 16 kB / 495.4 MB, free: 3.762 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 (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.001188/0.1448, allocations: 402.5 kB / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1452, allocations: 55.97 kB / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1452, allocations: 0 / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1453, allocations: 31.92 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1457, allocations: 11.98 kB / 495.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.1463, allocations: 258.9 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1467, allocations: 0.7043 MB / 496.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1467, allocations: 15.44 kB / 496.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1467, allocations: 0 / 496.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of Templates: time 0.004489/0.1512, allocations: 1.479 MB / 498.4 MB, free: 0.8008 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches