Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008864/0.0008864, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.412/1.412, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008589/0.000859, allocations: 89.44 kB / 271.9 MB, free: 8.277 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.3818/0.3818, allocations: 43.56 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003933, allocations: 12 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 58.85 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3904/0.5273, allocations: 86.38 MB / 0.5643 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5276, allocations: 71.97 kB / 0.5644 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009414/0.537, allocations: 3.567 MB / 0.5678 GB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.537, allocations: 0 / 0.5678 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.537, allocations: 4 kB / 0.5678 GB, free: 12.33 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.0004333/0.5375, allocations: 398.7 kB / 0.5682 GB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5375, allocations: 8.031 kB / 0.5682 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.5376, allocations: 9.406 kB / 0.5682 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.5378, allocations: 192.2 kB / 0.5684 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.5378, allocations: 384 / 0.5684 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.5378, allocations: 8.375 kB / 0.5684 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.538, allocations: 48.31 kB / 0.5685 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.538, allocations: 192 / 0.5685 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.538, allocations: 11.31 kB / 0.5685 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.5381, allocations: 0 / 0.5685 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.5382, allocations: 31.91 kB / 0.5685 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.5385, allocations: 276.9 kB / 0.5688 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.5387, allocations: 50.5 kB / 0.5688 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.5388, allocations: 20.94 kB / 0.5689 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.5388, allocations: 0 / 0.5689 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5389, allocations: 34.5 kB / 0.5689 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.5389, allocations: 0 / 0.5689 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005246/0.5394, allocations: 153.3 kB / 0.569 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5394, allocations: 55.34 kB / 0.5691 GB, free: 10.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5396, allocations: 149.8 kB / 0.5692 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.5396, allocations: 29.7 kB / 0.5693 GB, free: 10.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.5397, allocations: 96.12 kB / 0.5693 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.5397, allocations: 23.69 kB / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.5397, allocations: 0 / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5399, allocations: 327 kB / 0.5697 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.5399, allocations: 19.98 kB / 0.5697 GB, free: 10.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.54, allocations: 23.98 kB / 0.5697 GB, free: 10.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.5401, allocations: 48.84 kB / 0.5698 GB, free: 10.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5401, allocations: 0 / 0.5698 GB, free: 10.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.5403, allocations: 94.44 kB / 0.5699 GB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5404, allocations: 6.188 kB / 0.5699 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5404, allocations: 3.938 kB / 0.5699 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5404, allocations: 0 / 0.5699 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.5405, allocations: 12 kB / 0.5699 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5405, allocations: 0 / 0.5699 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.5405, allocations: 8.234 kB / 0.5699 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5405, allocations: 12 kB / 0.5699 GB, free: 10.01 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 9.312e-05/0.5406, allocations: 121.8 kB / 0.57 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.5407, allocations: 11.91 kB / 0.57 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.5409, allocations: 97.95 kB / 0.5701 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5409, allocations: 4 kB / 0.5701 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5409, allocations: 3.938 kB / 0.5701 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5409, allocations: 0 / 0.5701 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.5413, allocations: 358.5 kB / 0.5705 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5414, allocations: 0.75 kB / 0.5705 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.5414, allocations: 15.98 kB / 0.5705 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5414, allocations: 4 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5414, allocations: 0 / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5414, allocations: 0 / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5414, allocations: 3.938 kB / 0.5705 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.5417, allocations: 191.4 kB / 0.5707 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.5417, allocations: 85.02 kB / 0.5708 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5418, allocations: 3.938 kB / 0.5708 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.5418, allocations: 11.98 kB / 0.5708 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.5419, allocations: 7.938 kB / 0.5708 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.5419, allocations: 0 / 0.5708 GB, free: 9.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.542, allocations: 119.2 kB / 0.5709 GB, free: 8.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.542, allocations: 0 / 0.5709 GB, free: 8.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.5422, allocations: 23.94 kB / 0.5709 GB, free: 8.867 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.0008728/0.5431, allocations: 411.9 kB / 0.5713 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.5433, allocations: 55.91 kB / 0.5714 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5433, allocations: 4 kB / 0.5714 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.5434, allocations: 23.98 kB / 0.5714 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.5437, allocations: 15.92 kB / 0.5714 GB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.5441, allocations: 228.5 kB / 0.5716 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.5443, allocations: 0.6965 MB / 0.5723 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.5444, allocations: 11.44 kB / 0.5723 GB, free: 7.477 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5444, allocations: 0 / 0.5723 GB, free: 7.477 MB / 394.7 MB Notification: Performance of Templates: time 0.003341/0.5477, allocations: 1.386 MB / 0.5737 GB, free: 6.094 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches