Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, 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.2347/0.2347, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002286/0.002286, allocations: 84.08 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3761, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003365/0.3795, allocations: 1.748 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.3823, allocations: 1.614 MB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.3825, allocations: 5.969 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3828, allocations: 45.17 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.3832, allocations: 99.5 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.3835, allocations: 79.56 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3837, allocations: 97.98 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3838, allocations: 18.2 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3839, allocations: 48.92 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3841, allocations: 38.92 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3841, allocations: 9.5 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.3843, allocations: 109.6 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.3844, allocations: 21.41 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.3844, allocations: 36.05 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.3848, allocations: 166.3 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3848, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3848, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3848, allocations: 1.375 kB / 0.5347 GB, free: 10.25 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.0006994/0.3855, allocations: 430.1 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3856, allocations: 9.625 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.3856, allocations: 38.73 kB / 0.5352 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.3857, allocations: 14.34 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.386, allocations: 215.6 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.386, allocations: 1.375 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3861, allocations: 6.75 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3863, allocations: 69.08 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3863, allocations: 1.375 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3863, allocations: 4 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3863, allocations: 1.375 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.3864, allocations: 17.61 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.3868, allocations: 289.5 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.387, allocations: 57.88 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.3871, allocations: 26.47 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3871, allocations: 1.375 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3873, allocations: 65.14 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 5.881e-06/0.3873, allocations: 0 / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005674/0.3878, allocations: 181.5 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3879, allocations: 82.2 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3881, allocations: 163.1 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3881, allocations: 30.77 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.3882, allocations: 99.88 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.3883, allocations: 31.48 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.3883, allocations: 24.83 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3885, allocations: 325.8 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.3885, allocations: 19.22 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.3886, allocations: 52.84 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.3889, allocations: 59.61 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3889, allocations: 0 / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.3892, allocations: 99.53 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3892, allocations: 4.531 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3892, allocations: 1.25 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3892, allocations: 1.156 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3893, allocations: 20.47 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3894, allocations: 5.219 kB / 0.5371 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.3894, allocations: 6.266 kB / 0.5371 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3894, allocations: 3.312 kB / 0.5371 GB, free: 7.988 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.0001168/0.3896, allocations: 120.3 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3896, allocations: 8.609 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.3896, allocations: 21.3 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3897, allocations: 4.969 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3897, allocations: 0 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3897, allocations: 0 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.3902, allocations: 400.8 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3902, allocations: 5.094 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.3903, allocations: 7.031 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3903, allocations: 1.156 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3903, allocations: 2.25 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3903, allocations: 3.984 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3903, allocations: 1.172 kB / 0.5376 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3906, allocations: 212.7 kB / 0.5378 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3906, allocations: 87.47 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3907, allocations: 2.031 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.3908, allocations: 10.14 kB / 0.5379 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.3908, allocations: 3.125 kB / 0.5379 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3908, allocations: 4.188 kB / 0.5379 GB, free: 7.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.391, allocations: 130.8 kB / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.391, allocations: 0 / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3914, allocations: 46.27 kB / 0.5381 GB, free: 7.035 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.002441/0.3938, allocations: 1.193 MB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.394, allocations: 54.59 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.394, allocations: 0 / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.3941, allocations: 33.11 kB / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3945, allocations: 34.14 kB / 0.5394 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.3965, allocations: 1.591 MB / 0.5409 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3969, allocations: 0.6955 MB / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.898e-05/0.397, allocations: 23.27 kB / 0.5416 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3971, allocations: 38.34 kB / 0.5417 GB, free: 3.898 MB / 398.1 MB Notification: Performance of SimCode: time 2.665e-06/0.3971, allocations: 0 / 0.5417 GB, free: 3.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.4254, allocations: 4.036 MB / 0.5456 GB, free: 1.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.514, allocations: 10.17 kB / 0.5456 GB, free: 1.66 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)