Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001741/0.001742, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.28/1.28, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1893/0.1893, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3292, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003187/0.3325, allocations: 1.591 MB / 0.5211 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.3333, allocations: 406.2 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.3334, allocations: 1.156 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3337, allocations: 76.39 kB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.3339, allocations: 67.64 kB / 0.5217 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3343, allocations: 104.2 kB / 0.5218 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3345, allocations: 82.12 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3346, allocations: 15.2 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.3347, allocations: 33.86 kB / 0.5219 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3348, allocations: 54.45 kB / 0.5219 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3349, allocations: 2.531 kB / 0.5219 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.335, allocations: 52.84 kB / 0.522 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.3351, allocations: 21.72 kB / 0.522 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.3351, allocations: 27.17 kB / 0.522 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3353, allocations: 99.28 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3353, allocations: 2.594 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3353, allocations: 0 / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3353, allocations: 3.938 kB / 0.5221 GB, free: 1.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004467/0.3358, allocations: 401.4 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3358, allocations: 9.031 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3359, allocations: 9.281 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3361, allocations: 202.4 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3361, allocations: 1.438 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3361, allocations: 7.625 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3363, allocations: 56.75 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.3363, allocations: 1.125 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3363, allocations: 4 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3363, allocations: 0.9375 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3364, allocations: 31.03 kB / 0.5228 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3368, allocations: 299.9 kB / 0.5231 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3369, allocations: 49.69 kB / 0.5232 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.337, allocations: 15.81 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.337, allocations: 1.25 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.337, allocations: 39.17 kB / 0.5232 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.337, allocations: 0.5938 kB / 0.5232 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008873/0.3379, allocations: 230.6 kB / 0.5234 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.338, allocations: 57.42 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3382, allocations: 209.5 kB / 0.5237 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3382, allocations: 31.5 kB / 0.5237 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3382, allocations: 111.2 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3383, allocations: 29.44 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.3383, allocations: 22.3 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.3384, allocations: 321.2 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.3384, allocations: 30.44 kB / 0.5242 GB, free: 136 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.3385, allocations: 30.52 kB / 0.5242 GB, free: 128 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3387, allocations: 75.86 kB / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3387, allocations: 1.094 kB / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002079/0.3389, allocations: 112.7 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3389, allocations: 6.391 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3389, allocations: 0 / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.339, allocations: 0 / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.3391, allocations: 17.55 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3391, allocations: 17.41 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.3391, allocations: 8.203 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3391, allocations: 2.125 kB / 0.5245 GB, free: 16 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 (8): * Single equations (assignments): 8 * 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 0.0001143/0.3392, allocations: 128.6 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.3393, allocations: 8.156 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.3396, allocations: 127.5 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3396, allocations: 1.156 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3396, allocations: 8.641 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3396, allocations: 1.484 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.3402, allocations: 411.5 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.3402, allocations: 1.406 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.3402, allocations: 29.11 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3403, allocations: 1.094 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3403, allocations: 5.094 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.3403, allocations: 1.688 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3403, allocations: 1.156 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3406, allocations: 213.7 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3406, allocations: 88.58 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3407, allocations: 5.594 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.3407, allocations: 9.062 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.3408, allocations: 9.688 kB / 0.5255 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3408, allocations: 11.28 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3409, allocations: 155.4 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3409, allocations: 0 / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3412, allocations: 19.67 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001/0.3422, allocations: 458 kB / 0.5261 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3425, allocations: 76.3 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3425, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.3426, allocations: 42.72 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3429, allocations: 28.16 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.3434, allocations: 295.5 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3438, allocations: 0.7144 MB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.3438, allocations: 12.88 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3438, allocations: 0 / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004075/0.3479, allocations: 1.758 MB / 0.5289 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches