Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 113.3 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 181.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 243.1 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1857/0.1857, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3349, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002626/0.3376, allocations: 1.564 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.3382, allocations: 391.8 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.3383, allocations: 5.062 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3385, allocations: 25.09 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3387, allocations: 49.86 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.339, allocations: 79.8 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3391, allocations: 54.95 kB / 0.5217 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3392, allocations: 16.72 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.3392, allocations: 17.47 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.3393, allocations: 23.73 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3393, allocations: 3.094 kB / 0.5217 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.3394, allocations: 33.58 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.3395, allocations: 19.02 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.3395, allocations: 25.97 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.3397, allocations: 75.89 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3397, allocations: 0.6562 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3397, allocations: 0 / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3397, allocations: 0 / 0.5219 GB, free: 2.059 MB / 382.1 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.0003945/0.3401, allocations: 377.7 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3401, allocations: 10.23 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.3402, allocations: 12.22 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3403, allocations: 195.3 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3403, allocations: 1.219 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3404, allocations: 6.531 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3405, allocations: 53.48 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3405, allocations: 3.906 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3405, allocations: 1.75 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3405, allocations: 3.984 kB / 0.5225 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.3406, allocations: 26.48 kB / 0.5226 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.3409, allocations: 275.2 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3411, allocations: 43.55 kB / 0.5229 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3412, allocations: 17.64 kB / 0.5229 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3412, allocations: 1.219 kB / 0.5229 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.3412, allocations: 32.64 kB / 0.5229 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3412, allocations: 4 kB / 0.5229 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004922/0.3417, allocations: 139.4 kB / 0.523 GB, free: 0.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3417, allocations: 57.44 kB / 0.5231 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3419, allocations: 163.8 kB / 0.5233 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3419, allocations: 26.86 kB / 0.5233 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.3419, allocations: 93.97 kB / 0.5234 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.342, allocations: 19.62 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.342, allocations: 19.38 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.3421, allocations: 319.7 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.3421, allocations: 18.27 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.3422, allocations: 19.2 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3423, allocations: 50.31 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3423, allocations: 4 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001554/0.3425, allocations: 77.12 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3425, allocations: 8.656 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3425, allocations: 1.094 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3425, allocations: 0 / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.3426, allocations: 17.19 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3426, allocations: 0 / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.3426, allocations: 5.359 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3427, allocations: 9.156 kB / 0.5239 GB, free: 220 kB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.3427, allocations: 123.6 kB / 0.524 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3428, allocations: 11.34 kB / 0.524 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.343, allocations: 97.16 kB / 0.5241 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.343, allocations: 2.203 kB / 0.5241 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.343, allocations: 320 / 0.5241 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.343, allocations: 0.6562 kB / 0.5241 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.3434, allocations: 359.6 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3434, allocations: 1.531 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.3435, allocations: 11.11 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3435, allocations: 1.156 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.3435, allocations: 1.188 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3435, allocations: 4.688 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3435, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3437, allocations: 178.3 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.3438, allocations: 82.98 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3438, allocations: 1.125 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3439, allocations: 8.469 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3439, allocations: 8.781 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.344, allocations: 5.25 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3441, allocations: 127.3 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3441, allocations: 4 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3443, allocations: 10.94 kB / 0.5249 GB, free: 15.33 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009142/0.3452, allocations: 405.3 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.3454, allocations: 44.83 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3454, allocations: 0 / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.3455, allocations: 27.56 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3459, allocations: 24.92 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.3463, allocations: 207.8 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3466, allocations: 0.7018 MB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3466, allocations: 13.5 kB / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3466, allocations: 0 / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.00327/0.3499, allocations: 1.412 MB / 0.5277 GB, free: 13.92 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches