Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 109.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.001097/0.001097, allocations: 183 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.249/1.249, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2108/0.2108, allocations: 44.17 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3505, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002591/0.3531, allocations: 1.567 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.3538, allocations: 405.4 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.3539, allocations: 0.9688 kB / 0.5215 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3541, allocations: 32.28 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.3543, allocations: 38.58 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.3546, allocations: 107.1 kB / 0.5217 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3547, allocations: 55.53 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3548, allocations: 12.58 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.3549, allocations: 22.28 kB / 0.5218 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.3549, allocations: 20.31 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.355, allocations: 6.219 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.355, allocations: 33.94 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.3551, allocations: 16.16 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3551, allocations: 25.48 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3553, allocations: 75.75 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3553, allocations: 1.094 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3553, allocations: 0.6094 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3553, allocations: 0 / 0.5219 GB, free: 2.055 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.0003914/0.3557, allocations: 388.2 kB / 0.5223 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3558, allocations: 10.73 kB / 0.5223 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3558, allocations: 7.875 kB / 0.5223 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.356, allocations: 195.4 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.356, allocations: 1.656 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.356, allocations: 3.688 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3561, allocations: 52.64 kB / 0.5226 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3562, allocations: 9.156 kB / 0.5226 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3562, allocations: 0 / 0.5226 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3562, allocations: 5.406 kB / 0.5226 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.3563, allocations: 22.42 kB / 0.5226 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3566, allocations: 282.4 kB / 0.5229 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3568, allocations: 43.14 kB / 0.5229 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.3569, allocations: 17.28 kB / 0.5229 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3569, allocations: 5.781 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.3569, allocations: 35.56 kB / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3569, allocations: 0 / 0.523 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005345/0.3575, allocations: 151.1 kB / 0.5231 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.3575, allocations: 53.59 kB / 0.5231 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3576, allocations: 165.3 kB / 0.5233 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.3576, allocations: 30.98 kB / 0.5233 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.3577, allocations: 93.94 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3577, allocations: 15.08 kB / 0.5234 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.3577, allocations: 19.66 kB / 0.5235 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.3578, allocations: 324.4 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.3579, allocations: 24.72 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.3579, allocations: 24.52 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3581, allocations: 52.75 kB / 0.5239 GB, free: 264 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3581, allocations: 0 / 0.5239 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/0.3583, allocations: 84.06 kB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3583, allocations: 9.188 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3583, allocations: 1.125 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3583, allocations: 0 / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.3584, allocations: 17.55 kB / 0.524 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3584, allocations: 4 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.3585, allocations: 4.656 kB / 0.524 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3585, allocations: 2.031 kB / 0.524 GB, free: 208 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.163e-05/0.3585, allocations: 127.8 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3586, allocations: 10.84 kB / 0.5241 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3588, allocations: 98.83 kB / 0.5242 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3588, allocations: 5.625 kB / 0.5242 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3588, allocations: 4.766 kB / 0.5242 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3588, allocations: 1.406 kB / 0.5242 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3593, allocations: 354.6 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3593, allocations: 0 / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.3594, allocations: 12.77 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3594, allocations: 0 / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3594, allocations: 5.719 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3594, allocations: 3.938 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3594, allocations: 5.344 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3596, allocations: 181.5 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/0.3597, allocations: 83.72 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3597, allocations: 1.766 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3598, allocations: 7.547 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.3598, allocations: 9.281 kB / 0.5249 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.3598, allocations: 5.25 kB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.3599, allocations: 128.8 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3599, allocations: 3.938 kB / 0.525 GB, free: 15.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3602, allocations: 12.25 kB / 0.525 GB, free: 15.31 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.0008804/0.3611, allocations: 403.7 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3613, allocations: 54.08 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3613, allocations: 4 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.3614, allocations: 27.25 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3617, allocations: 12.7 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.3622, allocations: 217.7 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3624, allocations: 0.7027 MB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.3625, allocations: 13.59 kB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3625, allocations: 7.938 kB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.003841/0.3663, allocations: 1.449 MB / 0.5278 GB, free: 13.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches