Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001827/0.001827, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2646/0.2646, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 80.02 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3913, allocations: 62.46 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003668/0.3951, allocations: 1.722 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.398, allocations: 1.63 MB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.3981, allocations: 7.938 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.3984, allocations: 37.39 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.3989, allocations: 100.4 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3991, allocations: 70.94 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3993, allocations: 106.4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3995, allocations: 14.86 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3996, allocations: 48.23 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3998, allocations: 42.95 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3998, allocations: 5.5 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.4, allocations: 115 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.4001, allocations: 16.05 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.4002, allocations: 36.03 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.4005, allocations: 174.3 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4005, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4005, allocations: 1.375 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.4006, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007446/0.4013, allocations: 430.2 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.4014, allocations: 9.312 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.4014, allocations: 32.09 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.4015, allocations: 12.53 kB / 0.5352 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.4019, allocations: 223.5 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.402, allocations: 2.156 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.402, allocations: 2.312 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.4022, allocations: 73.95 kB / 0.5355 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4022, allocations: 4 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4023, allocations: 1.281 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4023, allocations: 0 / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.4024, allocations: 23.3 kB / 0.5355 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.4029, allocations: 288.9 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4031, allocations: 54.72 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.4032, allocations: 25.66 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4032, allocations: 0 / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.4034, allocations: 69.97 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.4034, allocations: 3.938 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.4041, allocations: 173.5 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.4041, allocations: 82.11 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.4044, allocations: 172.8 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4044, allocations: 27.89 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.4045, allocations: 99.66 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.4045, allocations: 27.06 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.4046, allocations: 25.7 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4048, allocations: 317.2 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.4048, allocations: 23.52 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.4049, allocations: 48.77 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.405, allocations: 58.86 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.405, allocations: 5.156 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.4053, allocations: 95.53 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4053, allocations: 7.25 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4053, allocations: 0 / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4053, allocations: 5.422 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.4054, allocations: 24.75 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4054, allocations: 1.281 kB / 0.5371 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.4055, allocations: 6.438 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4055, allocations: 2.469 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001148/0.4056, allocations: 120.7 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.4056, allocations: 8.797 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.4057, allocations: 12.53 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4057, allocations: 5.188 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4057, allocations: 4 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.4057, allocations: 5.422 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.4063, allocations: 400.4 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4063, allocations: 8.25 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.4063, allocations: 8.094 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4063, allocations: 1.031 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4063, allocations: 5.125 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4063, allocations: 0.9688 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4064, allocations: 1.094 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.4067, allocations: 216 kB / 0.5378 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4067, allocations: 87.84 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4068, allocations: 2.75 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4068, allocations: 2.594 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.4069, allocations: 10.52 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4069, allocations: 3.875 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.4071, allocations: 130.7 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4071, allocations: 0 / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.4074, allocations: 46.61 kB / 0.5381 GB, free: 7.047 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002642/0.4101, allocations: 1.185 MB / 0.5392 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4103, allocations: 58.28 kB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4103, allocations: 1.094 kB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.4104, allocations: 28.92 kB / 0.5393 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4108, allocations: 40.47 kB / 0.5394 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.4129, allocations: 1.58 MB / 0.5409 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.4133, allocations: 0.7032 MB / 0.5416 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.4134, allocations: 19.84 kB / 0.5416 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.4135, allocations: 42.78 kB / 0.5417 GB, free: 3.918 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4135, allocations: 3.938 kB / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.4422, allocations: 4.023 MB / 0.5456 GB, free: 1.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.567, allocations: 17.77 kB / 0.5456 GB, free: 1.68 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)