Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001918/0.001919, allocations: 202 kB / 18.73 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.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.45 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.272/0.272, 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.002487/0.002487, allocations: 84.09 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3824, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00341/0.3858, allocations: 1.733 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.388, allocations: 1.018 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3882, allocations: 1 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.3886, allocations: 45.42 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.389, allocations: 91.53 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3892, allocations: 82.88 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3894, allocations: 97.27 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3896, allocations: 19.36 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.3897, allocations: 43.02 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.3898, allocations: 34.34 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3898, allocations: 3.25 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3899, allocations: 39.98 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.39, allocations: 21.41 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.3901, allocations: 35.98 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3903, allocations: 120.5 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3903, allocations: 1.375 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3903, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3903, allocations: 3.938 kB / 0.534 GB, free: 10.82 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.0006369/0.391, allocations: 415.6 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.391, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3911, allocations: 36.12 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3911, allocations: 12.97 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.3915, allocations: 208.7 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3915, allocations: 9.734 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.3915, allocations: 5.312 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3917, allocations: 61.98 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3917, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3917, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3917, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.3918, allocations: 21.55 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.3922, allocations: 282.9 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.3925, allocations: 65.86 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3925, allocations: 21.09 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3925, allocations: 1.375 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3927, allocations: 65.14 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3927, allocations: 0 / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.3933, allocations: 178.6 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3933, allocations: 56.78 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.3935, allocations: 186.2 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3936, allocations: 25.7 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.3936, allocations: 105.6 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3937, allocations: 18.59 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.3937, allocations: 24.59 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.394, allocations: 323 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.394, allocations: 27.05 kB / 0.5361 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.3941, allocations: 47.45 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3942, allocations: 54.39 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3942, allocations: 0 / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.3944, allocations: 112 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3945, allocations: 5.375 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3945, allocations: 0 / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3945, allocations: 1.156 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.3946, allocations: 21.58 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3946, allocations: 1.031 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.3947, allocations: 9.719 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3947, allocations: 3.219 kB / 0.5363 GB, free: 8.617 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.0001138/0.3948, allocations: 126.1 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3948, allocations: 13.25 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.3949, allocations: 14.47 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3949, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3949, allocations: 5.5 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3949, allocations: 3.938 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.3954, allocations: 397.4 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3954, allocations: 0 / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3955, allocations: 12.06 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3955, allocations: 5.094 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3955, allocations: 1.25 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3955, allocations: 1.031 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3955, allocations: 1.094 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.3958, allocations: 199.8 kB / 0.537 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.3959, allocations: 92.34 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3959, allocations: 14.19 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.396, allocations: 2.344 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.396, allocations: 7.203 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.396, allocations: 7.531 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3962, allocations: 135.5 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3962, allocations: 0 / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3964, allocations: 24.11 kB / 0.5373 GB, free: 7.664 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.002191/0.3986, allocations: 1.104 MB / 0.5384 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.3988, allocations: 58.02 kB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3988, allocations: 0 / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.3989, allocations: 38.05 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3993, allocations: 27.06 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.4012, allocations: 1.635 MB / 0.5401 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4016, allocations: 0.7056 MB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.4017, allocations: 13.41 kB / 0.5408 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.4018, allocations: 35.98 kB / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4018, allocations: 0 / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.4287, allocations: 3.398 MB / 0.5442 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.374, allocations: 9.438 kB / 0.5442 GB, free: 2.719 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)