Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.2281/0.2281, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002258/0.002258, allocations: 83.86 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3155, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003164/0.3187, allocations: 1.757 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3206, allocations: 1.016 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.3207, allocations: 9.25 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.321, allocations: 52.25 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3214, allocations: 100.5 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.3216, allocations: 84.28 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3218, allocations: 123.9 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.322, allocations: 20.22 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3221, allocations: 48.41 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.966e-05/0.3222, allocations: 51.02 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3222, allocations: 5.5 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3224, allocations: 68.38 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3224, allocations: 32.53 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.3225, allocations: 42.7 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3228, allocations: 151.3 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3228, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3228, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3228, allocations: 0 / 0.5342 GB, free: 10.73 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007511/0.3236, allocations: 442.5 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3236, allocations: 9.906 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.3237, allocations: 40.05 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.3238, allocations: 18.91 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.3241, allocations: 224.9 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3241, allocations: 2.656 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3241, allocations: 11.16 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3243, allocations: 77.59 kB / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3244, allocations: 1.062 kB / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3244, allocations: 0 / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3244, allocations: 1.156 kB / 0.535 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3245, allocations: 43.95 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.325, allocations: 330.4 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3252, allocations: 82.11 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.3253, allocations: 30.5 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3254, allocations: 2.344 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.3256, allocations: 82.78 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3256, allocations: 1.25 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008425/0.3264, allocations: 298.1 kB / 0.5358 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3265, allocations: 60.66 kB / 0.5358 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3267, allocations: 190.5 kB / 0.536 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3267, allocations: 31.08 kB / 0.5361 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.3268, allocations: 113.8 kB / 0.5362 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.3268, allocations: 50.59 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.3269, allocations: 29.56 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3271, allocations: 330.9 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-05/0.3272, allocations: 35.05 kB / 0.5366 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.3273, allocations: 52.2 kB / 0.5366 GB, free: 8.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3274, allocations: 99.02 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3275, allocations: 0 / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002973/0.3278, allocations: 153.8 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3278, allocations: 8.484 kB / 0.5369 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3278, allocations: 1.094 kB / 0.5369 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3278, allocations: 5.062 kB / 0.5369 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/0.3279, allocations: 28.12 kB / 0.5369 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3279, allocations: 5.016 kB / 0.5369 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.328, allocations: 6.375 kB / 0.5369 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.328, allocations: 12.03 kB / 0.5369 GB, free: 8.285 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 (15): * Single equations (assignments): 15 * 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.0001254/0.3281, allocations: 129 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3282, allocations: 14.75 kB / 0.5371 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.3282, allocations: 16.06 kB / 0.5371 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3282, allocations: 6.344 kB / 0.5371 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3283, allocations: 0 / 0.5371 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3283, allocations: 3.984 kB / 0.5371 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.3289, allocations: 496 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3289, allocations: 1.25 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.329, allocations: 18.55 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.329, allocations: 2.406 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.329, allocations: 2.312 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.329, allocations: 1.188 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.329, allocations: 1.25 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.3294, allocations: 264 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.3294, allocations: 89.27 kB / 0.5379 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3295, allocations: 10.58 kB / 0.538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.3296, allocations: 2.156 kB / 0.538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.3296, allocations: 9.766 kB / 0.538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3296, allocations: 9.156 kB / 0.538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3298, allocations: 151.1 kB / 0.5381 GB, free: 7.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3298, allocations: 1.375 kB / 0.5381 GB, free: 7.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3301, allocations: 30.12 kB / 0.5381 GB, free: 7.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002444/0.3325, allocations: 1.207 MB / 0.5393 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3328, allocations: 97.59 kB / 0.5394 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3328, allocations: 0 / 0.5394 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3329, allocations: 53.66 kB / 0.5395 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3333, allocations: 33.77 kB / 0.5395 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3355, allocations: 1.865 MB / 0.5413 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3359, allocations: 0.7156 MB / 0.542 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.271e-05/0.336, allocations: 34.86 kB / 0.5421 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.3361, allocations: 46.56 kB / 0.5421 GB, free: 3.906 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3361, allocations: 1.281 kB / 0.5421 GB, free: 3.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.3618, allocations: 4.065 MB / 0.5461 GB, free: 1.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.538, allocations: 1.953 kB / 0.5461 GB, free: 1.762 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)