Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.583/1.583, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007855/0.0007855, allocations: 86.41 kB / 271.3 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.4524/0.4524, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 8 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3806/0.5182, allocations: 86.68 MB / 0.5646 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5185, allocations: 79.94 kB / 0.5647 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.5292, allocations: 4.306 MB / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5293, allocations: 0 / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5293, allocations: 4 kB / 0.5689 GB, free: 10.98 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.0004457/0.5298, allocations: 382.9 kB / 0.5692 GB, free: 10.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5298, allocations: 12.03 kB / 0.5693 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.5299, allocations: 13.88 kB / 0.5693 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.5301, allocations: 190.7 kB / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5301, allocations: 384 / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.5302, allocations: 4.375 kB / 0.5695 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.5303, allocations: 63.95 kB / 0.5695 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5304, allocations: 4.125 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.5304, allocations: 7.938 kB / 0.5695 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5304, allocations: 4 kB / 0.5695 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.5305, allocations: 23.98 kB / 0.5696 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.5309, allocations: 268.9 kB / 0.5698 GB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.5311, allocations: 54.44 kB / 0.5699 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.5312, allocations: 19.86 kB / 0.5699 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5312, allocations: 3.984 kB / 0.5699 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5312, allocations: 30.84 kB / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5312, allocations: 0 / 0.5699 GB, free: 9.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005343/0.5318, allocations: 153.4 kB / 0.5701 GB, free: 9.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.5318, allocations: 77.11 kB / 0.5701 GB, free: 9.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.532, allocations: 133.8 kB / 0.5703 GB, free: 9.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.532, allocations: 25.7 kB / 0.5703 GB, free: 9.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.5321, allocations: 100.1 kB / 0.5704 GB, free: 9.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.5321, allocations: 23.64 kB / 0.5704 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5321, allocations: 4 kB / 0.5704 GB, free: 9.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5322, allocations: 314.8 kB / 0.5707 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.5323, allocations: 23.98 kB / 0.5707 GB, free: 8.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.5324, allocations: 38.2 kB / 0.5708 GB, free: 8.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.5325, allocations: 57.02 kB / 0.5708 GB, free: 8.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5325, allocations: 0 / 0.5708 GB, free: 8.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001688/0.5327, allocations: 89.64 kB / 0.5709 GB, free: 8.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5327, allocations: 4 kB / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5327, allocations: 0 / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5327, allocations: 0 / 0.5709 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.5328, allocations: 15.98 kB / 0.5709 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5328, allocations: 0 / 0.5709 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.5329, allocations: 15.98 kB / 0.5709 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.5329, allocations: 0 / 0.5709 GB, free: 8.641 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.226e-05/0.533, allocations: 121.8 kB / 0.5711 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.533, allocations: 7.906 kB / 0.5711 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.5332, allocations: 97.56 kB / 0.5712 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5333, allocations: 4 kB / 0.5712 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5333, allocations: 288 / 0.5712 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.5333, allocations: 4 kB / 0.5712 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.5337, allocations: 350.5 kB / 0.5715 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5337, allocations: 1.031 kB / 0.5715 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.5338, allocations: 23.92 kB / 0.5715 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5338, allocations: 3.984 kB / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5338, allocations: 0 / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5338, allocations: 0 / 0.5715 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5338, allocations: 4 kB / 0.5715 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.534, allocations: 187.6 kB / 0.5717 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.5341, allocations: 93 kB / 0.5718 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.5341, allocations: 4.062 kB / 0.5718 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.5342, allocations: 4 kB / 0.5718 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.5342, allocations: 11.92 kB / 0.5718 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.5342, allocations: 3.938 kB / 0.5718 GB, free: 7.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.5343, allocations: 108.3 kB / 0.5719 GB, free: 7.531 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5343, allocations: 7.938 kB / 0.5719 GB, free: 7.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.5346, allocations: 27.98 kB / 0.572 GB, free: 7.496 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.0009821/0.5356, allocations: 450.1 kB / 0.5724 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.5358, allocations: 55.97 kB / 0.5724 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5358, allocations: 0 / 0.5724 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.5359, allocations: 27.98 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.5361, allocations: 19.92 kB / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.5365, allocations: 163 kB / 0.5726 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.5368, allocations: 0.6887 MB / 0.5733 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.5369, allocations: 8 kB / 0.5733 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.5369, allocations: 15.42 kB / 0.5733 GB, free: 6.125 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5369, allocations: 4 kB / 0.5733 GB, free: 6.121 MB / 394.7 MB Notification: Performance of Templates: time 0.003556/0.5405, allocations: 1.281 MB / 0.5746 GB, free: 4.844 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches