Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000916/0.000916, allocations: 178.1 kB / 16.77 MB, free: 5.051 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.64/1.64, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008025/0.0008024, allocations: 91.39 kB / 271.3 MB, free: 8.242 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.3736/0.3736, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 15.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4805, allocations: 86.38 MB / 0.5643 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4807, allocations: 71.97 kB / 0.5644 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009452/0.4902, allocations: 3.562 MB / 0.5679 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4903, allocations: 0 / 0.5679 GB, free: 12.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4903, allocations: 11.84 kB / 0.5679 GB, free: 12.01 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.0004302/0.4907, allocations: 386.8 kB / 0.5682 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4908, allocations: 12.03 kB / 0.5682 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.4908, allocations: 4.844 kB / 0.5683 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.491, allocations: 196.2 kB / 0.5684 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.491, allocations: 4.375 kB / 0.5684 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4911, allocations: 384 / 0.5684 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.4912, allocations: 58.19 kB / 0.5685 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4912, allocations: 192 / 0.5685 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4913, allocations: 7.922 kB / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4913, allocations: 0 / 0.5685 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.4914, allocations: 27.92 kB / 0.5685 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4917, allocations: 276.9 kB / 0.5688 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.492, allocations: 50.5 kB / 0.5688 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.492, allocations: 20.94 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4921, allocations: 0 / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4921, allocations: 38.5 kB / 0.5689 GB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4921, allocations: 0 / 0.5689 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005626/0.4927, allocations: 149.3 kB / 0.569 GB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4927, allocations: 59.34 kB / 0.5691 GB, free: 10.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4929, allocations: 153.8 kB / 0.5692 GB, free: 10.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4929, allocations: 25.7 kB / 0.5693 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.493, allocations: 92.14 kB / 0.5694 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.493, allocations: 19.73 kB / 0.5694 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.493, allocations: 0 / 0.5694 GB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4931, allocations: 323 kB / 0.5697 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.4932, allocations: 23.98 kB / 0.5697 GB, free: 9.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.4933, allocations: 23.92 kB / 0.5697 GB, free: 9.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4934, allocations: 52.83 kB / 0.5698 GB, free: 9.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4934, allocations: 0 / 0.5698 GB, free: 9.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.4936, allocations: 93.52 kB / 0.5699 GB, free: 9.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4936, allocations: 4 kB / 0.5699 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4936, allocations: 0 / 0.5699 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4937, allocations: 0 / 0.5699 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.4937, allocations: 15.98 kB / 0.5699 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4937, allocations: 0 / 0.5699 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.4938, allocations: 15.98 kB / 0.5699 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4938, allocations: 0 / 0.5699 GB, free: 9.707 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.659e-05/0.4939, allocations: 121.8 kB / 0.57 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.4939, allocations: 11.91 kB / 0.57 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.4942, allocations: 101.9 kB / 0.5701 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4942, allocations: 0.75 kB / 0.5701 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4942, allocations: 1.688 kB / 0.5701 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4942, allocations: 0 / 0.5701 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.4946, allocations: 362.5 kB / 0.5705 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4946, allocations: 4 kB / 0.5705 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.4947, allocations: 15.98 kB / 0.5705 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4947, allocations: 0 / 0.5705 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.4947, allocations: 0 / 0.5705 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4947, allocations: 3.938 kB / 0.5705 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4947, allocations: 4.812 kB / 0.5705 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.495, allocations: 187.4 kB / 0.5707 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.495, allocations: 89 kB / 0.5708 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.495, allocations: 0 / 0.5708 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.4951, allocations: 12.44 kB / 0.5708 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.4952, allocations: 7.922 kB / 0.5708 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4952, allocations: 4 kB / 0.5708 GB, free: 8.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.627e-05/0.4953, allocations: 122.4 kB / 0.5709 GB, free: 8.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4953, allocations: 0 / 0.5709 GB, free: 8.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.4955, allocations: 16 kB / 0.5709 GB, free: 8.566 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.000869/0.4964, allocations: 418.7 kB / 0.5713 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.4966, allocations: 63.84 kB / 0.5714 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4966, allocations: 0 / 0.5714 GB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.4967, allocations: 27.98 kB / 0.5714 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.497, allocations: 11.42 kB / 0.5714 GB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.4974, allocations: 198.8 kB / 0.5716 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4977, allocations: 0.6936 MB / 0.5723 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.466e-05/0.4977, allocations: 12.22 kB / 0.5723 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4978, allocations: 15.38 kB / 0.5723 GB, free: 7.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4978, allocations: 0 / 0.5723 GB, free: 7.188 MB / 394.7 MB Notification: Performance of Templates: time 0.003152/0.5009, allocations: 1.041 MB / 0.5733 GB, free: 6.152 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches