Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 181.3 kB / 17.41 MB, free: 4.406 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.268/1.268, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007794/0.0007794, allocations: 89.42 kB / 271.9 MB, free: 8.254 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.2961/0.2961, allocations: 43.56 MB / 363.8 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 23.98 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.403, allocations: 86.38 MB / 0.5643 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4033, allocations: 71.95 kB / 0.5644 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008685/0.412, allocations: 3.525 MB / 0.5678 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.412, allocations: 0 / 0.5678 GB, free: 12.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4121, allocations: 0 / 0.5678 GB, free: 12.34 MB / 394.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.0003413/0.4124, allocations: 390.8 kB / 0.5682 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4124, allocations: 16.03 kB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.4125, allocations: 4.938 kB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4127, allocations: 192.8 kB / 0.5684 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.4127, allocations: 384 / 0.5684 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.4127, allocations: 7.469 kB / 0.5684 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4128, allocations: 50.23 kB / 0.5684 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4128, allocations: 192 / 0.5684 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4129, allocations: 11.25 kB / 0.5684 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4129, allocations: 0 / 0.5684 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.29e-05/0.413, allocations: 23.98 kB / 0.5685 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.4133, allocations: 272.9 kB / 0.5687 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4135, allocations: 50.5 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.4135, allocations: 16.86 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.4135, allocations: 0 / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4136, allocations: 34.64 kB / 0.5688 GB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4136, allocations: 0 / 0.5688 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005052/0.4141, allocations: 161.5 kB / 0.569 GB, free: 10.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4141, allocations: 55.41 kB / 0.569 GB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4143, allocations: 136.8 kB / 0.5692 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.4143, allocations: 25.7 kB / 0.5692 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.4143, allocations: 96.14 kB / 0.5693 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4143, allocations: 15.8 kB / 0.5693 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4144, allocations: 7.938 kB / 0.5693 GB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4145, allocations: 315 kB / 0.5696 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.4145, allocations: 27.92 kB / 0.5696 GB, free: 10.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.4146, allocations: 19.98 kB / 0.5696 GB, free: 10.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4147, allocations: 56.83 kB / 0.5697 GB, free: 10.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.4147, allocations: 0 / 0.5697 GB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.4149, allocations: 89.58 kB / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4149, allocations: 8 kB / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4149, allocations: 0 / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4149, allocations: 0 / 0.5698 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.415, allocations: 19.97 kB / 0.5698 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.415, allocations: 3.938 kB / 0.5698 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.4151, allocations: 7.984 kB / 0.5698 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4151, allocations: 0 / 0.5698 GB, free: 10.05 MB / 394.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 7.558e-05/0.4152, allocations: 133.7 kB / 0.5699 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.4152, allocations: 4.562 kB / 0.5699 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.4154, allocations: 98.72 kB / 0.57 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4154, allocations: 0 / 0.57 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.4154, allocations: 0 / 0.57 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4154, allocations: 4 kB / 0.57 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.4158, allocations: 362.8 kB / 0.5704 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4158, allocations: 4 kB / 0.5704 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.4159, allocations: 13.22 kB / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4159, allocations: 0 / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.4159, allocations: 4 kB / 0.5704 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.4159, allocations: 4 kB / 0.5704 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4159, allocations: 3.984 kB / 0.5704 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4161, allocations: 183.3 kB / 0.5706 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.4162, allocations: 93.02 kB / 0.5707 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4162, allocations: 3.984 kB / 0.5707 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.4163, allocations: 8 kB / 0.5707 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.4163, allocations: 3.938 kB / 0.5707 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.4163, allocations: 7.984 kB / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.4164, allocations: 103.3 kB / 0.5708 GB, free: 8.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4164, allocations: 0 / 0.5708 GB, free: 8.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.4166, allocations: 27.88 kB / 0.5708 GB, free: 8.914 MB / 394.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.0007714/0.4174, allocations: 405.6 kB / 0.5712 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.4176, allocations: 55.91 kB / 0.5713 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4176, allocations: 0 / 0.5713 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.4177, allocations: 27.98 kB / 0.5713 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4179, allocations: 15.98 kB / 0.5713 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.4183, allocations: 200.8 kB / 0.5715 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4185, allocations: 0.6965 MB / 0.5722 GB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4185, allocations: 11.44 kB / 0.5722 GB, free: 7.559 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4185, allocations: 0 / 0.5722 GB, free: 7.559 MB / 394.7 MB Notification: Performance of Templates: time 0.00246/0.421, allocations: 1.362 MB / 0.5735 GB, free: 6.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches