Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001214/0.001214, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.364/1.364, allocations: 222.9 MB / 242.4 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.2185/0.2185, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3741, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004146/0.3783, allocations: 1.831 MB / 0.5202 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3805, allocations: 0.8728 MB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3806, allocations: 1.219 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.3809, allocations: 66.12 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.3814, allocations: 82.66 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.3823, allocations: 205.3 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.3827, allocations: 207.8 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3829, allocations: 19.97 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3831, allocations: 79.97 kB / 0.5217 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3833, allocations: 100.6 kB / 0.5218 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.3834, allocations: 13.41 kB / 0.5218 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.3835, allocations: 48.73 kB / 0.5219 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3837, allocations: 48.67 kB / 0.5219 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3838, allocations: 67.72 kB / 0.522 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3842, allocations: 197.8 kB / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3842, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3843, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3843, allocations: 0 / 0.5222 GB, free: 0.9219 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001461/0.3857, allocations: 0.57 MB / 0.5227 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3858, allocations: 9.406 kB / 0.5227 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.3859, allocations: 34.12 kB / 0.5228 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.386, allocations: 21.66 kB / 0.5228 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3863, allocations: 231.8 kB / 0.523 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3863, allocations: 7.328 kB / 0.523 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.3864, allocations: 13.56 kB / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007885/0.3872, allocations: 150 kB / 0.5232 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3872, allocations: 0.6094 kB / 0.5232 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.3872, allocations: 1.438 kB / 0.5232 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3873, allocations: 0.9375 kB / 0.5232 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3885, allocations: 166.8 kB / 0.5233 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3898, allocations: 430.2 kB / 0.5237 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.3912, allocations: 207.4 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.3916, allocations: 94.92 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3917, allocations: 1.312 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005907/0.3923, allocations: 166.8 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.3923, allocations: 3.938 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003584/0.3959, allocations: 0.8351 MB / 0.525 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3959, allocations: 61.42 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3962, allocations: 245.3 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3963, allocations: 32.67 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.3964, allocations: 120.8 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.3964, allocations: 35.77 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.3965, allocations: 42.73 kB / 0.5255 GB, free: 14.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3967, allocations: 331.8 kB / 0.5258 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.3973, allocations: 172 kB / 0.526 GB, free: 14.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.398, allocations: 182.6 kB / 0.5262 GB, free: 14.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3992, allocations: 374.3 kB / 0.5265 GB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3992, allocations: 0 / 0.5265 GB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001436/0.4007, allocations: 472.4 kB / 0.527 GB, free: 13.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.4007, allocations: 64.36 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4008, allocations: 112 / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4008, allocations: 5.156 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.4012, allocations: 76.03 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4012, allocations: 1.469 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.4016, allocations: 58.28 kB / 0.5272 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.4016, allocations: 11.81 kB / 0.5272 GB, free: 13.8 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001405/0.4018, allocations: 137.3 kB / 0.5273 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4018, allocations: 19.47 kB / 0.5273 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.4033, allocations: 412.5 kB / 0.5277 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.4033, allocations: 5.25 kB / 0.5277 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4033, allocations: 1.344 kB / 0.5277 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4033, allocations: 0 / 0.5277 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.405, allocations: 0.7306 MB / 0.5284 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.405, allocations: 4.953 kB / 0.5285 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.4054, allocations: 71.16 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4054, allocations: 5.094 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4054, allocations: 1.5 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4055, allocations: 1.562 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.4055, allocations: 0 / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4071, allocations: 488.9 kB / 0.529 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.4072, allocations: 101.4 kB / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4072, allocations: 6.125 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.4076, allocations: 58.12 kB / 0.5292 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.4078, allocations: 49.66 kB / 0.5292 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.4078, allocations: 3.25 kB / 0.5292 GB, free: 12.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4081, allocations: 188.3 kB / 0.5294 GB, free: 12.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4081, allocations: 4 kB / 0.5294 GB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.4084, allocations: 41.47 kB / 0.5294 GB, free: 12.23 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002698/0.4111, allocations: 1.322 MB / 0.5307 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.4126, allocations: 489.7 kB / 0.5312 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4127, allocations: 0 / 0.5312 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.4134, allocations: 187 kB / 0.5314 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4138, allocations: 42.53 kB / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.4214, allocations: 2.858 MB / 0.5342 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4218, allocations: 0.7342 MB / 0.5349 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.422, allocations: 29.94 kB / 0.5349 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4222, allocations: 53.61 kB / 0.535 GB, free: 8.039 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4222, allocations: 0 / 0.535 GB, free: 8.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.4495, allocations: 5.709 MB / 0.5406 GB, free: 5.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.43, allocations: 14.03 kB / 0.5406 GB, free: 5.043 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)