Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.713/1.713, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001241/0.001241, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2465/0.2465, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.5067, allocations: 86.38 MB / 0.5631 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.507, allocations: 72.7 kB / 0.5632 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.5173, allocations: 3.93 MB / 0.567 GB, free: 9.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5173, allocations: 0 / 0.567 GB, free: 9.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5173, allocations: 3.984 kB / 0.567 GB, free: 9.969 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.0004794/0.5178, allocations: 406.4 kB / 0.5674 GB, free: 9.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5179, allocations: 12.02 kB / 0.5674 GB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.5179, allocations: 7.906 kB / 0.5674 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.5182, allocations: 205.1 kB / 0.5676 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5182, allocations: 0 / 0.5676 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.5183, allocations: 8 kB / 0.5676 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5184, allocations: 48.12 kB / 0.5677 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5184, allocations: 4 kB / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5185, allocations: 0 / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5185, allocations: 0 / 0.5677 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.5186, allocations: 27.23 kB / 0.5677 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.519, allocations: 297.6 kB / 0.568 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5193, allocations: 42.12 kB / 0.568 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.5193, allocations: 4 kB / 0.568 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5193, allocations: 30.56 kB / 0.5681 GB, free: 8.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5194, allocations: 3.938 kB / 0.5681 GB, free: 8.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005921/0.5199, allocations: 162.6 kB / 0.5682 GB, free: 8.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.52, allocations: 55.03 kB / 0.5683 GB, free: 8.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.5202, allocations: 189.7 kB / 0.5685 GB, free: 8.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5202, allocations: 29.27 kB / 0.5685 GB, free: 8.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.5203, allocations: 103.8 kB / 0.5686 GB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.5203, allocations: 14.62 kB / 0.5686 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.5204, allocations: 0 / 0.5686 GB, free: 8.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5205, allocations: 324.4 kB / 0.5689 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.5206, allocations: 22.86 kB / 0.5689 GB, free: 7.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.5206, allocations: 26.67 kB / 0.569 GB, free: 7.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.5207, allocations: 24.86 kB / 0.569 GB, free: 7.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5207, allocations: 0 / 0.569 GB, free: 7.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001794/0.5209, allocations: 86.75 kB / 0.5691 GB, free: 7.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5209, allocations: 12 kB / 0.5691 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5209, allocations: 0 / 0.5691 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5209, allocations: 0 / 0.5691 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.521, allocations: 19.92 kB / 0.5691 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.521, allocations: 3.938 kB / 0.5691 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.5211, allocations: 4 kB / 0.5691 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5211, allocations: 7.953 kB / 0.5691 GB, free: 7.75 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.723e-05/0.5212, allocations: 132.8 kB / 0.5692 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.5212, allocations: 11.81 kB / 0.5692 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.5215, allocations: 99.52 kB / 0.5693 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.5215, allocations: 4 kB / 0.5693 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5215, allocations: 0 / 0.5693 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5215, allocations: 320 / 0.5693 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.522, allocations: 381.1 kB / 0.5697 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.522, allocations: 4 kB / 0.5697 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.522, allocations: 11.98 kB / 0.5697 GB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5221, allocations: 4 kB / 0.5697 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.5221, allocations: 0 / 0.5697 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5221, allocations: 4 kB / 0.5697 GB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5221, allocations: 0 / 0.5697 GB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.5223, allocations: 191.8 kB / 0.5699 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.5224, allocations: 96.06 kB / 0.57 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.5224, allocations: 4 kB / 0.57 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.5225, allocations: 4 kB / 0.57 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.5226, allocations: 7.984 kB / 0.57 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.5226, allocations: 0 / 0.57 GB, free: 6.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.5227, allocations: 157.7 kB / 0.5702 GB, free: 6.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5227, allocations: 0 / 0.5702 GB, free: 6.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000244/0.523, allocations: 15.5 kB / 0.5702 GB, free: 6.625 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.0009023/0.5239, allocations: 417.7 kB / 0.5706 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5241, allocations: 54.53 kB / 0.5706 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5241, allocations: 0 / 0.5706 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.5242, allocations: 31.86 kB / 0.5707 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.5244, allocations: 19.27 kB / 0.5707 GB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.5248, allocations: 231.5 kB / 0.5709 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5251, allocations: 0.7157 MB / 0.5716 GB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.5252, allocations: 4.188 kB / 0.5716 GB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.5252, allocations: 15.44 kB / 0.5716 GB, free: 5.184 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5252, allocations: 0 / 0.5716 GB, free: 5.184 MB / 378.7 MB Notification: Performance of Templates: time 0.003318/0.5286, allocations: 1.148 MB / 0.5727 GB, free: 4.047 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches