Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001459, 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.001477/0.001477, 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.526/1.526, allocations: 227.4 MB / 247 MB, free: 10.44 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.2202/0.2202, 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.002323/0.002323, allocations: 84.14 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3302, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003228/0.3335, allocations: 1.735 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3353, allocations: 1.013 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.3354, allocations: 5.281 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.3358, allocations: 53.81 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.3361, allocations: 103.5 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.3363, allocations: 83.33 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3365, allocations: 96.56 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3366, allocations: 19.67 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3367, allocations: 34.23 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.3368, allocations: 38.91 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.3369, allocations: 6.656 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.702e-05/0.337, allocations: 43.92 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.337, allocations: 27.03 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.3371, allocations: 49.23 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3373, allocations: 136.6 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3373, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3374, allocations: 5.375 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3374, allocations: 0 / 0.534 GB, free: 10.78 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.0006415/0.338, allocations: 451.5 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3381, allocations: 9.625 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.3381, allocations: 40.06 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3382, allocations: 14.34 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3385, allocations: 216.4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3385, allocations: 3.125 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3385, allocations: 13.25 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3387, allocations: 54.05 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3387, allocations: 0 / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3387, allocations: 5.375 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3388, allocations: 1.375 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.3388, allocations: 17.61 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.3393, allocations: 308.2 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3395, allocations: 61.91 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.3396, allocations: 17.11 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3396, allocations: 1.375 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3398, allocations: 69.08 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.3398, allocations: 0 / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006102/0.3404, allocations: 197.2 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3405, allocations: 52.78 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.3408, allocations: 278.6 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3408, allocations: 27.23 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.3409, allocations: 111.4 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.341, allocations: 24.55 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.341, allocations: 28.14 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3412, allocations: 323.1 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.3413, allocations: 27.52 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.3414, allocations: 35.14 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3415, allocations: 60.16 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3415, allocations: 0 / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.3417, allocations: 108.4 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3418, allocations: 5.531 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3418, allocations: 5.188 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3418, allocations: 0.9688 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.3419, allocations: 20.55 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3419, allocations: 1.062 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.342, allocations: 10.38 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.342, allocations: 2.281 kB / 0.5365 GB, free: 8.473 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.0001401/0.3421, allocations: 136.5 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3422, allocations: 15.56 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.3422, allocations: 24.39 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3423, allocations: 1.094 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3423, allocations: 5.094 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3423, allocations: 3.938 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.3428, allocations: 404.8 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3428, allocations: 0 / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.3428, allocations: 7.844 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3429, allocations: 5.094 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3429, allocations: 2.344 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3429, allocations: 11.95 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3429, allocations: 1.156 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3432, allocations: 205.6 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.3432, allocations: 89.98 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.3433, allocations: 5.25 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3434, allocations: 5.281 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3434, allocations: 11.98 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3434, allocations: 3.781 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3436, allocations: 202.5 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3436, allocations: 0 / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3439, allocations: 25.75 kB / 0.5376 GB, free: 7.484 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.002103/0.346, allocations: 1.106 MB / 0.5387 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3462, allocations: 58.09 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3462, allocations: 4.062 kB / 0.5388 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.3463, allocations: 34.33 kB / 0.5388 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3467, allocations: 28.16 kB / 0.5388 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3488, allocations: 1.826 MB / 0.5406 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3492, allocations: 0.7244 MB / 0.5413 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.3492, allocations: 18.05 kB / 0.5414 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.3493, allocations: 44.05 kB / 0.5414 GB, free: 4.285 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3493, allocations: 3.938 kB / 0.5414 GB, free: 4.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.3737, allocations: 3.783 MB / 0.5451 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.608, allocations: 20.84 kB / 0.5451 GB, free: 2.258 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)