Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00224/0.00224, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.39 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.244/0.244, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002252/0.002252, allocations: 80.09 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3395, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003184/0.3427, allocations: 1.731 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3446, allocations: 1.021 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.3447, allocations: 5.844 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.345, allocations: 32.59 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.3454, allocations: 93.94 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3456, allocations: 84.23 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3458, allocations: 97 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3459, allocations: 10.88 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.346, allocations: 42.89 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.3461, allocations: 38.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3461, allocations: 2.75 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3463, allocations: 44.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3463, allocations: 21.41 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.3464, allocations: 26.69 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.3466, allocations: 116.5 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3466, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3467, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3467, allocations: 3.938 kB / 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.0006657/0.3473, allocations: 422.1 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3474, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.3474, allocations: 32.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3475, allocations: 22.31 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3478, allocations: 199.4 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3478, allocations: 5.734 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3479, allocations: 9.297 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.348, allocations: 54.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.348, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3481, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3481, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.3481, allocations: 21.61 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3485, allocations: 294.9 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3487, allocations: 48.25 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.3488, allocations: 25.72 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3488, allocations: 0.875 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.349, allocations: 69.8 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.349, allocations: 0 / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.3495, allocations: 174.2 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3496, allocations: 52.69 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3498, allocations: 172.6 kB / 0.5355 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3498, allocations: 26.8 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.3499, allocations: 100.7 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.3499, allocations: 31.08 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.35, allocations: 20.41 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3501, allocations: 326 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.3502, allocations: 22.3 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.3503, allocations: 39.95 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3504, allocations: 63.72 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3504, allocations: 0 / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3506, allocations: 99.2 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3506, allocations: 7.469 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3506, allocations: 1.188 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3507, allocations: 1.125 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.3508, allocations: 20.41 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3508, allocations: 9.328 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3508, allocations: 6.125 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3508, allocations: 7 kB / 0.5363 GB, free: 8.613 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.0001082/0.351, allocations: 116.8 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.351, allocations: 13.02 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.351, allocations: 17.3 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3511, allocations: 1 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3511, allocations: 1.094 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3511, allocations: 7.938 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.3516, allocations: 387.9 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3516, allocations: 1.406 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.3517, allocations: 10.92 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3517, allocations: 5.094 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3517, allocations: 6.125 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3517, allocations: 5.188 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3517, allocations: 0 / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.352, allocations: 196.6 kB / 0.537 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.352, allocations: 91.77 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3521, allocations: 9.297 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.3522, allocations: 2.75 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3522, allocations: 2.75 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3522, allocations: 8.109 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3524, allocations: 132.8 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.3524, allocations: 0 / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3526, allocations: 28.75 kB / 0.5373 GB, free: 7.676 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.002243/0.3549, allocations: 1.108 MB / 0.5383 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.3551, allocations: 53.67 kB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3551, allocations: 1.094 kB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.3552, allocations: 33.23 kB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3556, allocations: 32.45 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3577, allocations: 1.591 MB / 0.54 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3581, allocations: 0.7035 MB / 0.5407 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.3582, allocations: 22.83 kB / 0.5407 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3583, allocations: 35.89 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3583, allocations: 0 / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.3823, allocations: 3.342 MB / 0.544 GB, free: 2.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.47, allocations: 7.766 kB / 0.544 GB, free: 2.777 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)