Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001363/0.001363, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.53/1.53, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2282/0.2282, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4219, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003206/0.4252, allocations: 1.584 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.4261, allocations: 415 kB / 0.5209 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.4262, allocations: 5.125 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.4265, allocations: 77.17 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.4268, allocations: 66.47 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.4272, allocations: 104.6 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.4274, allocations: 74.94 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.4275, allocations: 22.33 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.4276, allocations: 33.53 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.4277, allocations: 59.28 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.4278, allocations: 2.094 kB / 0.5213 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4279, allocations: 39.28 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.4279, allocations: 27.25 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.428, allocations: 22.73 kB / 0.5214 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.4282, allocations: 104 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4282, allocations: 1.984 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4282, allocations: 4 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4282, allocations: 0 / 0.5215 GB, free: 1.992 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.0004768/0.4287, allocations: 405 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4288, allocations: 10.25 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.4288, allocations: 9.375 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.429, allocations: 193.2 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.429, allocations: 2.188 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.429, allocations: 3.438 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4292, allocations: 68.64 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4292, allocations: 1.812 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4292, allocations: 3.938 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4292, allocations: 0.75 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4293, allocations: 26.81 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.4297, allocations: 299.7 kB / 0.5225 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4298, allocations: 49.78 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.4299, allocations: 19.92 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.4299, allocations: 1.125 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.4299, allocations: 31.31 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4299, allocations: 1.125 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009056/0.4309, allocations: 237.4 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4309, allocations: 53.09 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4311, allocations: 210.3 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.4311, allocations: 27.08 kB / 0.5231 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.4312, allocations: 111.7 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4312, allocations: 28.98 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.4313, allocations: 26.34 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.4313, allocations: 325.9 kB / 0.5235 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.4314, allocations: 25.95 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.4315, allocations: 35.06 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.4317, allocations: 77.05 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4317, allocations: 0 / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.4319, allocations: 111.9 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.432, allocations: 6.344 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.432, allocations: 0 / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.432, allocations: 1.094 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4321, allocations: 20.66 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4321, allocations: 8.484 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.4322, allocations: 5.281 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4322, allocations: 3.031 kB / 0.5238 GB, free: 24 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.0001264/0.4323, allocations: 131 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.4324, allocations: 9.234 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.4327, allocations: 128.2 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4327, allocations: 1.469 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4327, allocations: 3.938 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4327, allocations: 0.75 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.4332, allocations: 415.9 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4332, allocations: 5.109 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.4333, allocations: 24.59 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4333, allocations: 1.062 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4334, allocations: 1.125 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4334, allocations: 1.797 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4334, allocations: 1.094 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.4337, allocations: 217 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.4337, allocations: 93.42 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.4338, allocations: 1.906 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.4338, allocations: 12.88 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.4339, allocations: 6.078 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4339, allocations: 3.031 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.434, allocations: 163 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.434, allocations: 2.062 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.4343, allocations: 22.39 kB / 0.525 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.001006/0.4353, allocations: 460.6 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4356, allocations: 71.3 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4356, allocations: 0 / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4357, allocations: 39.64 kB / 0.5256 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4361, allocations: 21.69 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.4366, allocations: 265.6 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4369, allocations: 0.7117 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.988e-05/0.437, allocations: 16.23 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.4371, allocations: 14.3 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4371, allocations: 0 / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004685/0.4418, allocations: 1.371 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches