Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, 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.001968/0.001968, 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.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.46 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.2229/0.2229, allocations: 46.11 MB / 344.4 MB, free: 11.47 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.003231/0.003231, allocations: 79.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3232, allocations: 62.45 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003014/0.3263, allocations: 1.733 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3281, allocations: 1.023 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.3282, allocations: 1.125 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3286, allocations: 58.25 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.3289, allocations: 93.64 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.3291, allocations: 83.38 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.3293, allocations: 100.4 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3295, allocations: 11.05 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.3296, allocations: 43.09 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.3296, allocations: 39.36 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3297, allocations: 3.625 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3298, allocations: 43 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.3299, allocations: 23.7 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.33, allocations: 48.86 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3303, allocations: 139.8 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3303, allocations: 1.375 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3303, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3303, allocations: 0 / 0.534 GB, free: 10.81 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.0007438/0.331, allocations: 455.5 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3311, allocations: 9.625 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.3312, allocations: 32.12 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3312, allocations: 15.72 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.3316, allocations: 220.4 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3316, allocations: 9.672 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3316, allocations: 9.297 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3318, allocations: 54.05 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3318, allocations: 5.312 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3318, allocations: 4 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3318, allocations: 1.375 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3319, allocations: 21.61 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3323, allocations: 300.3 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3326, allocations: 57.86 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3326, allocations: 25.09 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3327, allocations: 1.375 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3328, allocations: 65.14 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3328, allocations: 0 / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005519/0.3334, allocations: 185.4 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.3335, allocations: 52.78 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.3337, allocations: 279.8 kB / 0.5358 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3338, allocations: 26.8 kB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.3339, allocations: 114.7 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3339, allocations: 28.09 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.334, allocations: 23.94 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3341, allocations: 325 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.3342, allocations: 30.23 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.3343, allocations: 39.67 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3344, allocations: 62.78 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3345, allocations: 1.062 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002345/0.3347, allocations: 105.3 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3347, allocations: 4.938 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3347, allocations: 0 / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3348, allocations: 1.156 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3349, allocations: 17.14 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3349, allocations: 5.344 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.335, allocations: 10.59 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.335, allocations: 6.25 kB / 0.5365 GB, free: 8.5 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.0001528/0.3351, allocations: 133.3 kB / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3352, allocations: 14.78 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.3352, allocations: 21.17 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3352, allocations: 1.062 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3353, allocations: 1.188 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3353, allocations: 3.938 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.3359, allocations: 413.1 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3359, allocations: 0 / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.3359, allocations: 11.95 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3359, allocations: 4.969 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3359, allocations: 1.125 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.336, allocations: 1.094 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.336, allocations: 1.297 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.3363, allocations: 213.4 kB / 0.5373 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.3364, allocations: 89.61 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3364, allocations: 9.078 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3365, allocations: 6.312 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3365, allocations: 3.375 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3365, allocations: 7.516 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3368, allocations: 202.4 kB / 0.5376 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3368, allocations: 1.188 kB / 0.5376 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.337, allocations: 25.47 kB / 0.5376 GB, free: 7.512 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.00213/0.3392, allocations: 1.112 MB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.3394, allocations: 58.41 kB / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3394, allocations: 0 / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.3395, allocations: 29.22 kB / 0.5388 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3398, allocations: 34.47 kB / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3419, allocations: 1.827 MB / 0.5406 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3423, allocations: 0.7164 MB / 0.5413 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.3424, allocations: 22.17 kB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.3425, allocations: 43.64 kB / 0.5414 GB, free: 4.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3425, allocations: 0 / 0.5414 GB, free: 4.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3685, allocations: 3.797 MB / 0.5451 GB, free: 2.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.492, allocations: 4.984 kB / 0.5451 GB, free: 2.293 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)