Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.219/1.219, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007383/0.0007383, allocations: 93.16 kB / 271.2 MB, free: 8.25 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.2914/0.2914, allocations: 43.56 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004111, allocations: 23.98 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001909/0.1151, allocations: 1.255 MB / 492.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005131/0.1156, allocations: 291.8 kB / 492.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.1156, allocations: 4 kB / 492.4 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1158, allocations: 23.91 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.116, allocations: 39.84 kB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1162, allocations: 59.92 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1163, allocations: 47.84 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.1164, allocations: 15.97 kB / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.1165, allocations: 15.88 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.1165, allocations: 19.92 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1165, allocations: 4 kB / 492.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.1166, allocations: 27.97 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.1167, allocations: 11.94 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1167, allocations: 45.56 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1168, allocations: 55.86 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1168, allocations: 4 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1168, allocations: 0 / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1169, allocations: 0 / 492.7 MB, free: 8.734 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.0004324/0.1173, allocations: 379.5 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1173, allocations: 15.97 kB / 493.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1174, allocations: 8.844 kB / 493.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1176, allocations: 188.2 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1176, allocations: 384 / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1176, allocations: 8.359 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1177, allocations: 53.81 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1177, allocations: 0 / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1178, allocations: 0 / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1178, allocations: 3.938 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.1179, allocations: 27.98 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.1182, allocations: 280.8 kB / 493.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1184, allocations: 42.56 kB / 493.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1185, allocations: 28.88 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1185, allocations: 3.938 kB / 493.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1185, allocations: 34.56 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1185, allocations: 0 / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005136/0.119, allocations: 161.3 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1191, allocations: 51.41 kB / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1192, allocations: 169.7 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1193, allocations: 25.7 kB / 494.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.1193, allocations: 100.1 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.1193, allocations: 19.75 kB / 494.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1193, allocations: 0 / 494.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.1194, allocations: 322.8 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.1195, allocations: 23.98 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.1196, allocations: 15.98 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1197, allocations: 60.83 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1197, allocations: 0 / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.1199, allocations: 89.52 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1199, allocations: 8 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1199, allocations: 0 / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1199, allocations: 0 / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.12, allocations: 15.98 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.12, allocations: 0 / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.1201, allocations: 7.938 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1201, allocations: 4 kB / 494.8 MB, free: 6.41 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 8.151e-05/0.1202, allocations: 129.8 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1202, allocations: 11.91 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.1204, allocations: 102.1 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1204, allocations: 0 / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1204, allocations: 0 / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1204, allocations: 7.984 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1208, allocations: 354.9 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1208, allocations: 0 / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.1209, allocations: 23.92 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1209, allocations: 4 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1209, allocations: 0 / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1209, allocations: 7.938 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1209, allocations: 0 / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1211, allocations: 183.4 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1212, allocations: 85.02 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1212, allocations: 0 / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1213, allocations: 15.92 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1213, allocations: 4 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.1213, allocations: 4 kB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.256e-05/0.1214, allocations: 130.6 kB / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1214, allocations: 0 / 495.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.1217, allocations: 15.98 kB / 495.9 MB, free: 5.25 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.0008036/0.1225, allocations: 405.9 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1227, allocations: 47.97 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1227, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.1227, allocations: 35.97 kB / 496.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.123, allocations: 15.94 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.1234, allocations: 227.2 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1237, allocations: 0.6965 MB / 497.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.1237, allocations: 15.38 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1237, allocations: 0 / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Templates: time 0.002787/0.1265, allocations: 1.38 MB / 498.7 MB, free: 2.418 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches