Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.8 kB / 17.78 MB, free: 5.281 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.001412/0.001412, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.373/1.373, 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.2055/0.2055, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3435, allocations: 60.82 MB / 0.5189 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002614/0.3462, allocations: 1.585 MB / 0.5205 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.3469, allocations: 414.6 kB / 0.5209 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.3469, allocations: 1.094 kB / 0.5209 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.3472, allocations: 121.2 kB / 0.521 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3475, allocations: 89.22 kB / 0.5211 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.3478, allocations: 112.3 kB / 0.5212 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.348, allocations: 90.67 kB / 0.5213 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.3481, allocations: 15.52 kB / 0.5213 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.3481, allocations: 49.33 kB / 0.5213 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3483, allocations: 82.12 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3483, allocations: 3.688 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.738e-05/0.3484, allocations: 47.2 kB / 0.5215 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3485, allocations: 24.08 kB / 0.5215 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.3485, allocations: 35.84 kB / 0.5215 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3487, allocations: 120 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3487, allocations: 1.406 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3487, allocations: 0 / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3487, allocations: 0 / 0.5216 GB, free: 2.004 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.000457/0.3492, allocations: 427.3 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3492, allocations: 14.16 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.3493, allocations: 14.38 kB / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3494, allocations: 204.4 kB / 0.5223 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3495, allocations: 6.344 kB / 0.5223 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3495, allocations: 4.531 kB / 0.5223 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3496, allocations: 59.84 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3497, allocations: 0 / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3497, allocations: 1.594 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3497, allocations: 0.7188 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.3498, allocations: 29.8 kB / 0.5224 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.3502, allocations: 314 kB / 0.5227 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3503, allocations: 54.31 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.3504, allocations: 15.17 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3504, allocations: 1.922 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3504, allocations: 39.78 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3504, allocations: 3.938 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009504/0.3514, allocations: 240.3 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.3514, allocations: 57.42 kB / 0.523 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3517, allocations: 277.9 kB / 0.5233 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3518, allocations: 25.7 kB / 0.5233 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.3518, allocations: 111.2 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3519, allocations: 29.55 kB / 0.5235 GB, free: 440 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.3519, allocations: 21.41 kB / 0.5235 GB, free: 420 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.352, allocations: 325.7 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.3521, allocations: 33.34 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.3522, allocations: 34.55 kB / 0.5239 GB, free: 72 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3524, allocations: 77.81 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3524, allocations: 0 / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000271/0.3527, allocations: 111.6 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3527, allocations: 6.203 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3527, allocations: 0 / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3527, allocations: 5.656 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3528, allocations: 16.09 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3529, allocations: 9.672 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3529, allocations: 9.25 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3529, allocations: 6.25 kB / 0.5241 GB, free: 15.96 MB / 398.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.0001212/0.3531, allocations: 134.1 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.3531, allocations: 15.59 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3534, allocations: 129.5 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3534, allocations: 0.5312 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3535, allocations: 5.188 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3535, allocations: 4.5 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.3541, allocations: 427.7 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3541, allocations: 0 / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.3542, allocations: 25.2 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3542, allocations: 5.344 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3542, allocations: 1.75 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3542, allocations: 1.094 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3542, allocations: 4.609 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.3545, allocations: 210.8 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3546, allocations: 97.27 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.3546, allocations: 5.969 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.3547, allocations: 9.094 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3547, allocations: 6.469 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3547, allocations: 2.156 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.3549, allocations: 205 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3549, allocations: 1.906 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3552, allocations: 26.95 kB / 0.5254 GB, free: 14.98 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.001067/0.3563, allocations: 457.6 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3565, allocations: 76.92 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3565, allocations: 4 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.3566, allocations: 37.31 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.357, allocations: 28.64 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.3576, allocations: 306 kB / 0.5262 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.358, allocations: 0.7261 MB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.358, allocations: 17.22 kB / 0.527 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3581, allocations: 13.78 kB / 0.527 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3581, allocations: 0 / 0.527 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.004244/0.3623, allocations: 1.394 MB / 0.5283 GB, free: 13.28 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches