Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 169.7 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.5 MB / 230.7 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008406, allocations: 95.47 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.16 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.08e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 61.93 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5259, allocations: 87.2 MB / 0.5798 GB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5262, allocations: 75.95 kB / 0.5799 GB, free: 9.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008928/0.5351, allocations: 3.656 MB / 0.5835 GB, free: 5.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5352, allocations: 0 / 0.5835 GB, free: 5.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5352, allocations: 0 / 0.5835 GB, free: 5.605 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.0002971/0.5355, allocations: 361 kB / 0.5838 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5355, allocations: 11.98 kB / 0.5838 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.5356, allocations: 11.91 kB / 0.5838 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.5358, allocations: 194.9 kB / 0.584 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-06/0.5358, allocations: 4 kB / 0.584 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5358, allocations: 0 / 0.584 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.263e-05/0.5359, allocations: 19.89 kB / 0.5841 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.858e-05/0.5359, allocations: 41.69 kB / 0.5841 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.536, allocations: 0 / 0.5841 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.536, allocations: 0 / 0.5841 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.536, allocations: 0 / 0.5841 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.5363, allocations: 241.5 kB / 0.5843 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.5364, allocations: 50.45 kB / 0.5844 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.5365, allocations: 12.8 kB / 0.5844 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.5365, allocations: 0 / 0.5844 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.5365, allocations: 34.56 kB / 0.5844 GB, free: 4.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.5365, allocations: 0 / 0.5844 GB, free: 4.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000341/0.5369, allocations: 101.4 kB / 0.5845 GB, free: 4.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.5369, allocations: 55.41 kB / 0.5846 GB, free: 4.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.537, allocations: 131.3 kB / 0.5847 GB, free: 4.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.537, allocations: 25.7 kB / 0.5847 GB, free: 4.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.5371, allocations: 92.98 kB / 0.5848 GB, free: 4.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.5371, allocations: 15.72 kB / 0.5848 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5371, allocations: 4 kB / 0.5848 GB, free: 4.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5373, allocations: 314.8 kB / 0.5851 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.5373, allocations: 12 kB / 0.5851 GB, free: 3.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.5373, allocations: 12 kB / 0.5851 GB, free: 3.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.5373, allocations: 8 kB / 0.5852 GB, free: 3.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-07/0.5373, allocations: 0 / 0.5852 GB, free: 3.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.407e-05/0.5374, allocations: 61.64 kB / 0.5852 GB, free: 3.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5374, allocations: 7.938 kB / 0.5852 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5375, allocations: 0 / 0.5852 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5375, allocations: 0 / 0.5852 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.5376, allocations: 19.92 kB / 0.5852 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5376, allocations: 0 / 0.5852 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.5377, allocations: 8 kB / 0.5852 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5377, allocations: 7.984 kB / 0.5853 GB, free: 3.586 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 () * 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.414e-05/0.5378, allocations: 101 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.5378, allocations: 11.86 kB / 0.5854 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.538, allocations: 70.08 kB / 0.5854 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.538, allocations: 0 / 0.5854 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.538, allocations: 0 / 0.5854 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.538, allocations: 4 kB / 0.5854 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.5385, allocations: 311.3 kB / 0.5857 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5385, allocations: 0 / 0.5857 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.5386, allocations: 15.98 kB / 0.5857 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5386, allocations: 0 / 0.5857 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5386, allocations: 0 / 0.5857 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5386, allocations: 3.938 kB / 0.5857 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5386, allocations: 0 / 0.5857 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.5388, allocations: 159.5 kB / 0.5859 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.5389, allocations: 88.97 kB / 0.586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.5389, allocations: 0 / 0.586 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5391, allocations: 11.98 kB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.5391, allocations: 0 / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5391, allocations: 0 / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.5392, allocations: 111.3 kB / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5393, allocations: 4 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.5397, allocations: 11.94 kB / 0.5861 GB, free: 2.609 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 () * 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.001137/0.5408, allocations: 344.6 kB / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.5409, allocations: 24 kB / 0.5865 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.541, allocations: 0 / 0.5865 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.541, allocations: 19.94 kB / 0.5865 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5413, allocations: 15.98 kB / 0.5865 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.5417, allocations: 99.58 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.542, allocations: 0.6963 MB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.5421, allocations: 4.188 kB / 0.5873 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.5421, allocations: 15.44 kB / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5421, allocations: 0 / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of Templates: time 0.004113/0.5463, allocations: 0.9929 MB / 0.5883 GB, free: 432 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches