Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.CombiTable1D.Test5,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.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001123, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.63/1.63, 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.0007929/0.0007929, allocations: 93.22 kB / 271.3 MB, free: 8.246 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.3949/0.3949, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004952, allocations: 20 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1391, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.5028, allocations: 86.54 MB / 0.5645 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5032, allocations: 71.97 kB / 0.5645 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.5203, allocations: 3.991 MB / 0.5684 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5203, allocations: 0 / 0.5684 GB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.5203, allocations: 0 / 0.5684 GB, free: 11.29 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.0005605/0.5209, allocations: 418.7 kB / 0.5688 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.521, allocations: 12.03 kB / 0.5688 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.521, allocations: 8.844 kB / 0.5689 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.5214, allocations: 208.7 kB / 0.569 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.5214, allocations: 384 / 0.569 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.5214, allocations: 8.375 kB / 0.5691 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.5216, allocations: 50.25 kB / 0.5691 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5217, allocations: 192 / 0.5691 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5217, allocations: 7.922 kB / 0.5691 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5217, allocations: 0 / 0.5691 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.5218, allocations: 35.3 kB / 0.5691 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.5224, allocations: 293 kB / 0.5694 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.5227, allocations: 46.5 kB / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.5228, allocations: 28.88 kB / 0.5695 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5228, allocations: 0 / 0.5695 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.5228, allocations: 34.56 kB / 0.5695 GB, free: 10 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.5228, allocations: 0 / 0.5695 GB, free: 10 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008045/0.5237, allocations: 177.3 kB / 0.5697 GB, free: 9.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5237, allocations: 55.41 kB / 0.5698 GB, free: 9.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.5241, allocations: 218.8 kB / 0.57 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5241, allocations: 25.7 kB / 0.57 GB, free: 9.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.5242, allocations: 108.1 kB / 0.5701 GB, free: 9.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.5242, allocations: 7.812 kB / 0.5701 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.5242, allocations: 4 kB / 0.5701 GB, free: 9.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5244, allocations: 330.8 kB / 0.5704 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5245, allocations: 27.92 kB / 0.5704 GB, free: 9.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.5246, allocations: 23.98 kB / 0.5705 GB, free: 8.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.5249, allocations: 68.81 kB / 0.5705 GB, free: 8.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5249, allocations: 0 / 0.5705 GB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002961/0.5252, allocations: 89.52 kB / 0.5706 GB, free: 8.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5252, allocations: 9.562 kB / 0.5706 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5252, allocations: 288 / 0.5706 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5253, allocations: 4 kB / 0.5706 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.5254, allocations: 15.98 kB / 0.5706 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.5254, allocations: 0 / 0.5706 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.5255, allocations: 11.98 kB / 0.5707 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.5255, allocations: 0 / 0.5707 GB, free: 8.793 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 0.0001199/0.5256, allocations: 130.5 kB / 0.5708 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.5257, allocations: 19.8 kB / 0.5708 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.5261, allocations: 119.9 kB / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5261, allocations: 0 / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5261, allocations: 0 / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5261, allocations: 0 / 0.5709 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/0.5269, allocations: 402.8 kB / 0.5713 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5269, allocations: 0 / 0.5713 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.527, allocations: 15.94 kB / 0.5713 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5271, allocations: 7.922 kB / 0.5713 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5271, allocations: 0 / 0.5713 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5271, allocations: 0 / 0.5713 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5271, allocations: 0 / 0.5713 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.5275, allocations: 191.4 kB / 0.5715 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.5276, allocations: 100.9 kB / 0.5716 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.5277, allocations: 4 kB / 0.5716 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.5278, allocations: 11.98 kB / 0.5716 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5279, allocations: 3.938 kB / 0.5716 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.5279, allocations: 4 kB / 0.5716 GB, free: 7.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.5281, allocations: 167.7 kB / 0.5718 GB, free: 7.535 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5281, allocations: 0 / 0.5718 GB, free: 7.535 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.5286, allocations: 20 kB / 0.5718 GB, free: 7.516 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.001379/0.53, allocations: 420.9 kB / 0.5722 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.5303, allocations: 55.97 kB / 0.5723 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5304, allocations: 0 / 0.5723 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5305, allocations: 35.97 kB / 0.5723 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.531, allocations: 10.25 kB / 0.5723 GB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.5317, allocations: 274.5 kB / 0.5726 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5321, allocations: 0.7043 MB / 0.5733 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.607e-05/0.5322, allocations: 23.97 kB / 0.5733 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.5322, allocations: 11.44 kB / 0.5733 GB, free: 6.047 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5323, allocations: 0 / 0.5733 GB, free: 6.047 MB / 394.7 MB Notification: Performance of Templates: time 0.005161/0.5374, allocations: 1.182 MB / 0.5744 GB, free: 4.875 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches