Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 112.2 kB / 17.74 MB, free: 5.43 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.0009299/0.0009303, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.201/0.201, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3374, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003193/0.3407, allocations: 1.563 MB / 0.5204 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.3414, allocations: 404.7 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.3415, allocations: 1.281 kB / 0.5208 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.3417, allocations: 20.08 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.3419, allocations: 39.33 kB / 0.5208 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.3421, allocations: 85.06 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3423, allocations: 62.02 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3424, allocations: 12.05 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.3424, allocations: 17.66 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.3425, allocations: 20.42 kB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3425, allocations: 2.125 kB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.3426, allocations: 37.88 kB / 0.521 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.3427, allocations: 10.23 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.3427, allocations: 20.61 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3429, allocations: 72.56 kB / 0.5211 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3429, allocations: 4 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3429, allocations: 5 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3429, allocations: 0 / 0.5212 GB, free: 2.07 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.0003824/0.3433, allocations: 373.3 kB / 0.5215 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3433, allocations: 9.609 kB / 0.5215 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3434, allocations: 8.5 kB / 0.5215 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3435, allocations: 188.2 kB / 0.5217 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3435, allocations: 4.375 kB / 0.5217 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3435, allocations: 2.375 kB / 0.5217 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3437, allocations: 53.94 kB / 0.5218 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3437, allocations: 7.875 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3437, allocations: 0 / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3437, allocations: 1.547 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.3438, allocations: 22.5 kB / 0.5218 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.3441, allocations: 272.8 kB / 0.5221 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3443, allocations: 47.23 kB / 0.5221 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.3444, allocations: 18.28 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3444, allocations: 0.5625 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.3444, allocations: 32.58 kB / 0.5222 GB, free: 1.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3444, allocations: 0 / 0.5222 GB, free: 1.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005191/0.3449, allocations: 134.4 kB / 0.5223 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.345, allocations: 53.05 kB / 0.5223 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3451, allocations: 140.6 kB / 0.5225 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.3451, allocations: 29.7 kB / 0.5225 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.3452, allocations: 97.55 kB / 0.5226 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3452, allocations: 14.22 kB / 0.5226 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3452, allocations: 19.44 kB / 0.5226 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.3453, allocations: 319.8 kB / 0.5229 GB, free: 344 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.3454, allocations: 22.86 kB / 0.5229 GB, free: 336 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.3454, allocations: 18.8 kB / 0.523 GB, free: 332 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3456, allocations: 50.83 kB / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3456, allocations: 0 / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001638/0.3457, allocations: 81.03 kB / 0.5231 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3457, allocations: 7.5 kB / 0.5231 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3458, allocations: 4 kB / 0.5231 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3458, allocations: 5.641 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.3458, allocations: 12.42 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3459, allocations: 0.8438 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.3459, allocations: 4.812 kB / 0.5231 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.3459, allocations: 1.875 kB / 0.5231 GB, free: 252 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 6.216e-05/0.346, allocations: 118.9 kB / 0.5232 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.346, allocations: 8.094 kB / 0.5232 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3462, allocations: 100.9 kB / 0.5233 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3462, allocations: 1.562 kB / 0.5233 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3463, allocations: 0 / 0.5233 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3463, allocations: 1.531 kB / 0.5233 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.3467, allocations: 344.2 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3467, allocations: 0.6094 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.3468, allocations: 16.42 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3468, allocations: 4.656 kB / 0.5237 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3468, allocations: 1.375 kB / 0.5237 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3468, allocations: 7.938 kB / 0.5237 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3468, allocations: 5.859 kB / 0.5237 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.347, allocations: 173.6 kB / 0.5239 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3471, allocations: 81.77 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3471, allocations: 6.109 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.3472, allocations: 8.266 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3472, allocations: 5.016 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3472, allocations: 1.5 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.414e-05/0.3473, allocations: 111.2 kB / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3473, allocations: 0 / 0.5241 GB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3476, allocations: 15.67 kB / 0.5241 GB, free: 15.37 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.0008581/0.3484, allocations: 400.8 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3486, allocations: 44.89 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3486, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.3487, allocations: 24.23 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3491, allocations: 22.98 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3494, allocations: 165.5 kB / 0.5247 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3497, allocations: 0.6964 MB / 0.5254 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.3498, allocations: 7.625 kB / 0.5254 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.3498, allocations: 11.58 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3498, allocations: 0 / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Templates: time 0.003581/0.3534, allocations: 1.098 MB / 0.5265 GB, free: 14.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches