Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, 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.001297/0.001297, allocations: 201.2 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.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.41 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.2217/0.2217, 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.002216/0.002216, allocations: 91.8 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003493/0.3327, allocations: 1.934 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3348, allocations: 1.115 MB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3349, allocations: 2.75 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.3354, allocations: 159 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.3358, allocations: 181.2 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.3361, allocations: 124.4 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.3365, allocations: 242.5 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3366, allocations: 28.8 kB / 0.5344 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3368, allocations: 110.2 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.337, allocations: 131.2 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.337, allocations: 8 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3372, allocations: 71.03 kB / 0.5347 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.3373, allocations: 54.83 kB / 0.5347 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3374, allocations: 88.75 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.3378, allocations: 220 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3378, allocations: 0 / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3378, allocations: 0 / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3378, allocations: 1.062 kB / 0.535 GB, free: 10.12 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008424/0.3387, allocations: 0.55 MB / 0.5356 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3387, allocations: 14.16 kB / 0.5356 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.3388, allocations: 45.2 kB / 0.5356 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.3389, allocations: 32.41 kB / 0.5357 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3394, allocations: 272.1 kB / 0.5359 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3394, allocations: 2.844 kB / 0.5359 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3394, allocations: 13.03 kB / 0.5359 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.3397, allocations: 110.5 kB / 0.536 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3397, allocations: 1.281 kB / 0.536 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3397, allocations: 13.42 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3398, allocations: 1.531 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3399, allocations: 45.09 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.3406, allocations: 470.5 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.341, allocations: 126.3 kB / 0.5367 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3412, allocations: 44.14 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3412, allocations: 2.562 kB / 0.5367 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.3415, allocations: 128.8 kB / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.3415, allocations: 0 / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001443/0.3429, allocations: 0.4891 MB / 0.5373 GB, free: 8.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.343, allocations: 79.39 kB / 0.5374 GB, free: 8.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.3435, allocations: 376.6 kB / 0.5377 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.3436, allocations: 36.12 kB / 0.5378 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3437, allocations: 142 kB / 0.5379 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.3438, allocations: 81.8 kB / 0.538 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.3439, allocations: 40.61 kB / 0.538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3441, allocations: 339.6 kB / 0.5384 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3442, allocations: 58.19 kB / 0.5384 GB, free: 7.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3444, allocations: 91.56 kB / 0.5385 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.3447, allocations: 164.7 kB / 0.5387 GB, free: 7.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3447, allocations: 3.938 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004328/0.3452, allocations: 233.2 kB / 0.5389 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3452, allocations: 6.312 kB / 0.5389 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3452, allocations: 5.531 kB / 0.5389 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3452, allocations: 5.438 kB / 0.5389 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3454, allocations: 46.8 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3454, allocations: 5.484 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.3455, allocations: 4.25 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.3455, allocations: 14.86 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001564/0.3457, allocations: 150.1 kB / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.3457, allocations: 33.28 kB / 0.5391 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.3458, allocations: 40.3 kB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3458, allocations: 7.125 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3458, allocations: 0.8438 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3459, allocations: 3.984 kB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3469, allocations: 0.7112 MB / 0.5399 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3469, allocations: 1.25 kB / 0.5399 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.347, allocations: 35.8 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3471, allocations: 2.156 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3471, allocations: 12.22 kB / 0.5399 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3471, allocations: 2.344 kB / 0.5399 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3471, allocations: 6.062 kB / 0.5399 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.3477, allocations: 421.7 kB / 0.5403 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.3478, allocations: 104.7 kB / 0.5404 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3478, allocations: 9.109 kB / 0.5405 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.348, allocations: 11.84 kB / 0.5405 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.348, allocations: 24.06 kB / 0.5405 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3481, allocations: 13.72 kB / 0.5405 GB, free: 5.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.3484, allocations: 275.8 kB / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3484, allocations: 0 / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.3488, allocations: 51.7 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002952/0.3517, allocations: 1.357 MB / 0.5421 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.3522, allocations: 162.3 kB / 0.5423 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3522, allocations: 5.281 kB / 0.5423 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3524, allocations: 78.53 kB / 0.5424 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.3531, allocations: 66.61 kB / 0.5424 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.3571, allocations: 2.714 MB / 0.5451 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.3576, allocations: 0.7598 MB / 0.5458 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.3578, allocations: 48.12 kB / 0.5459 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3579, allocations: 86.91 kB / 0.546 GB, free: 1.363 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.358, allocations: 0 / 0.546 GB, free: 1.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.3882, allocations: 6.098 MB / 0.5519 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.737, allocations: 11.53 kB / 0.5519 GB, free: 11.64 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)