Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002213, allocations: 180 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0008163/0.0008163, allocations: 84.81 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3278/0.3278, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 16 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002381/0.1238, allocations: 1.255 MB / 491.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005837/0.1244, allocations: 287.8 kB / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1244, allocations: 0 / 491.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1247, allocations: 75.83 kB / 491.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1249, allocations: 47.88 kB / 491.9 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1252, allocations: 67.86 kB / 492 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1253, allocations: 55.81 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1254, allocations: 19.98 kB / 492 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1255, allocations: 23.91 kB / 492.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1256, allocations: 43.83 kB / 492.1 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1256, allocations: 4 kB / 492.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.1257, allocations: 23.98 kB / 492.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1258, allocations: 19.92 kB / 492.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.1258, allocations: 33.64 kB / 492.2 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1259, allocations: 63.91 kB / 492.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1259, allocations: 0 / 492.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.126, allocations: 4 kB / 492.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.126, allocations: 0 / 492.3 MB, free: 8.949 MB / 378.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.0004955/0.1265, allocations: 391.2 kB / 492.6 MB, free: 8.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1265, allocations: 15.95 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1266, allocations: 15.84 kB / 492.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1268, allocations: 190.9 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1268, allocations: 0 / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1268, allocations: 4 kB / 492.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.127, allocations: 57.61 kB / 492.9 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.127, allocations: 0 / 492.9 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.127, allocations: 4 kB / 492.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.127, allocations: 0 / 492.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.1271, allocations: 23.94 kB / 492.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1275, allocations: 281 kB / 493.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1277, allocations: 42.5 kB / 493.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1278, allocations: 20.94 kB / 493.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1278, allocations: 4 kB / 493.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1279, allocations: 30.56 kB / 493.3 MB, free: 7.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1279, allocations: 7.938 kB / 493.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005527/0.1284, allocations: 165.1 kB / 493.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1285, allocations: 55.41 kB / 493.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1287, allocations: 202.2 kB / 493.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1287, allocations: 25.7 kB / 493.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.1288, allocations: 100.1 kB / 493.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1288, allocations: 19.72 kB / 493.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.1288, allocations: 0 / 493.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1289, allocations: 322.8 kB / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.129, allocations: 23.98 kB / 494.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.1291, allocations: 23.98 kB / 494.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.1292, allocations: 19.98 kB / 494.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1292, allocations: 0 / 494.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.1294, allocations: 93.52 kB / 494.3 MB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1294, allocations: 7.953 kB / 494.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1294, allocations: 3.984 kB / 494.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1294, allocations: 4 kB / 494.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.1295, allocations: 8.25 kB / 494.4 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1295, allocations: 4 kB / 494.4 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1296, allocations: 19.92 kB / 494.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1296, allocations: 4 kB / 494.4 MB, free: 6.586 MB / 378.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 9.501e-05/0.1297, allocations: 121.8 kB / 494.5 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1297, allocations: 11.89 kB / 494.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1299, allocations: 110.1 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.13, allocations: 4 kB / 494.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.13, allocations: 0 / 494.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.13, allocations: 3.984 kB / 494.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.1304, allocations: 346.6 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1304, allocations: 3.984 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.1304, allocations: 23.89 kB / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1305, allocations: 0 / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1305, allocations: 4 kB / 495 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1305, allocations: 0 / 495 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1305, allocations: 0 / 495 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1307, allocations: 191.3 kB / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.1308, allocations: 85.02 kB / 495.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1308, allocations: 3.953 kB / 495.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1309, allocations: 11.98 kB / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.1309, allocations: 0 / 495.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1309, allocations: 8.188 kB / 495.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.131, allocations: 156 kB / 495.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.131, allocations: 4 kB / 495.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.1313, allocations: 27.92 kB / 495.5 MB, free: 5.387 MB / 378.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.0008123/0.1321, allocations: 400.5 kB / 495.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1323, allocations: 51.95 kB / 495.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1323, allocations: 4 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.1324, allocations: 27.98 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1327, allocations: 15.94 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1331, allocations: 262.9 kB / 496.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1334, allocations: 0.7043 MB / 496.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.1334, allocations: 11.44 kB / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1334, allocations: 0 / 497 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Templates: time 0.002944/0.1364, allocations: 1.462 MB / 498.4 MB, free: 2.441 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches