Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 117.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.001407/0.001407, allocations: 200.6 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.426/1.426, 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.2299/0.2299, 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.002237/0.002237, allocations: 79.88 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3745, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003895/0.3785, allocations: 1.73 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3803, allocations: 1.015 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.3804, allocations: 3.938 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3807, allocations: 48.12 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.381, allocations: 99.03 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.3812, allocations: 80.3 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3814, allocations: 100.9 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3815, allocations: 14.86 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.3816, allocations: 38.92 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3817, allocations: 34.78 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3817, allocations: 4.125 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3818, allocations: 47.42 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.3819, allocations: 18.8 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.382, allocations: 39.97 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.3822, allocations: 121 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3823, allocations: 1.281 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3823, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3823, allocations: 0 / 0.534 GB, free: 10.83 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.0007215/0.383, allocations: 425.2 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3831, allocations: 9.406 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.3831, allocations: 35.5 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3832, allocations: 13.73 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3836, allocations: 217 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3836, allocations: 5.984 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.3836, allocations: 5.719 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3838, allocations: 54.67 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3838, allocations: 0 / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3838, allocations: 1.469 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3838, allocations: 3.984 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.3839, allocations: 18.28 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3844, allocations: 298.8 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3846, allocations: 54 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.3846, allocations: 22.5 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3846, allocations: 1.156 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3848, allocations: 72.61 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3848, allocations: 0 / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005481/0.3854, allocations: 178.2 kB / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3854, allocations: 52.59 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3857, allocations: 197.1 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3857, allocations: 30.77 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.3858, allocations: 105.3 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3858, allocations: 23.98 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3858, allocations: 23.52 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.386, allocations: 327.3 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.3861, allocations: 19.44 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.3861, allocations: 38.3 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3863, allocations: 72.05 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3863, allocations: 0 / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.3865, allocations: 103.4 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3865, allocations: 5.5 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3865, allocations: 3.938 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3865, allocations: 1.375 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3866, allocations: 17.69 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3866, allocations: 0 / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.3867, allocations: 14.67 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3867, allocations: 6.781 kB / 0.5363 GB, free: 8.605 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.0001156/0.3868, allocations: 119.5 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.3868, allocations: 13.41 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.3869, allocations: 22.89 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3869, allocations: 0 / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3869, allocations: 1.375 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3869, allocations: 3.938 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.3874, allocations: 398.6 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3874, allocations: 0 / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.3874, allocations: 8.25 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3874, allocations: 5.312 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3875, allocations: 4.938 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3875, allocations: 1.406 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3875, allocations: 0 / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3877, allocations: 201 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3878, allocations: 91.78 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3878, allocations: 5.969 kB / 0.5372 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3879, allocations: 2.188 kB / 0.5372 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3879, allocations: 11.2 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3879, allocations: 3.375 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3881, allocations: 149.2 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3883, allocations: 24.62 kB / 0.5374 GB, free: 7.656 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.002198/0.3905, allocations: 1.109 MB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3907, allocations: 58.42 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3908, allocations: 0 / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.3909, allocations: 28.89 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3912, allocations: 33.73 kB / 0.5386 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3931, allocations: 1.648 MB / 0.5402 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3934, allocations: 0.7108 MB / 0.5409 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3935, allocations: 13.72 kB / 0.5409 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.3935, allocations: 40.05 kB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3935, allocations: 0 / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4193, allocations: 3.455 MB / 0.5443 GB, free: 2.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.587, allocations: 10.83 kB / 0.5443 GB, free: 2.68 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)