Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, 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.2322/0.2322, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002334/0.002334, allocations: 87.81 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3749, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004027/0.379, allocations: 2.273 MB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3816, allocations: 1.32 MB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3818, allocations: 7.531 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.3824, allocations: 120.6 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.383, allocations: 244.4 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.3836, allocations: 186.9 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.3841, allocations: 462.5 kB / 0.5352 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3843, allocations: 65.92 kB / 0.5353 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.3846, allocations: 264.1 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.3848, allocations: 157.6 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.3849, allocations: 16.25 kB / 0.5357 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3851, allocations: 76.38 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3853, allocations: 129.7 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3855, allocations: 194.8 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.3861, allocations: 438.6 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3861, allocations: 5.156 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3861, allocations: 0 / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3861, allocations: 0 / 0.5365 GB, free: 9.07 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001218/0.3873, allocations: 0.8356 MB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3874, allocations: 14.02 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.3874, allocations: 50.64 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3876, allocations: 68.58 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.3882, allocations: 420.5 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3882, allocations: 17.77 kB / 0.5378 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3883, allocations: 22.42 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.3887, allocations: 191.7 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3887, allocations: 2.656 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3887, allocations: 9.453 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3887, allocations: 2.719 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.389, allocations: 89.31 kB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.39, allocations: 0.8048 MB / 0.5389 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.3907, allocations: 249 kB / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.391, allocations: 89.61 kB / 0.5393 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.391, allocations: 8.281 kB / 0.5393 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.3914, allocations: 202 kB / 0.5395 GB, free: 6.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.3915, allocations: 1.25 kB / 0.5395 GB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002661/0.3941, allocations: 1.153 MB / 0.5406 GB, free: 5.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3943, allocations: 137.2 kB / 0.5407 GB, free: 5.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.3952, allocations: 0.7998 MB / 0.5415 GB, free: 5.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.3953, allocations: 42.08 kB / 0.5415 GB, free: 5.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3955, allocations: 232.5 kB / 0.5418 GB, free: 5.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3956, allocations: 152.1 kB / 0.5419 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3958, allocations: 73.66 kB / 0.542 GB, free: 4.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3959, allocations: 377.3 kB / 0.5423 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3962, allocations: 116.7 kB / 0.5424 GB, free: 4.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3965, allocations: 186 kB / 0.5426 GB, free: 4.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.397, allocations: 321.4 kB / 0.5429 GB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.397, allocations: 0.9688 kB / 0.5429 GB, free: 4.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008201/0.3979, allocations: 429.5 kB / 0.5433 GB, free: 3.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3979, allocations: 5.375 kB / 0.5433 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3979, allocations: 2.156 kB / 0.5433 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.3979, allocations: 3.75 kB / 0.5434 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.3982, allocations: 96.61 kB / 0.5434 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3983, allocations: 8.25 kB / 0.5435 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3984, allocations: 23.64 kB / 0.5435 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.3985, allocations: 18.45 kB / 0.5435 GB, free: 3.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003004/0.3988, allocations: 233.5 kB / 0.5437 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3989, allocations: 69.72 kB / 0.5438 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.3991, allocations: 84.14 kB / 0.5439 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3991, allocations: 9.5 kB / 0.5439 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.3991, allocations: 5.031 kB / 0.5439 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3991, allocations: 5.078 kB / 0.5439 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.4009, allocations: 1.301 MB / 0.5451 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4009, allocations: 4 kB / 0.5452 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.4011, allocations: 59.91 kB / 0.5452 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4011, allocations: 11.94 kB / 0.5452 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.4012, allocations: 15.98 kB / 0.5452 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.4012, allocations: 11.94 kB / 0.5452 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4012, allocations: 8.188 kB / 0.5453 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.4021, allocations: 0.7981 MB / 0.546 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.4023, allocations: 172.6 kB / 0.5462 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.4024, allocations: 19.98 kB / 0.5462 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4027, allocations: 12 kB / 0.5462 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.4028, allocations: 47.83 kB / 0.5463 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.4028, allocations: 23.98 kB / 0.5463 GB, free: 1.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006748/0.4035, allocations: 0.5811 MB / 0.5469 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4035, allocations: 0 / 0.5469 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005435/0.4041, allocations: 87.92 kB / 0.5469 GB, free: 0.5312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003096/0.4072, allocations: 1.743 MB / 0.5487 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.4079, allocations: 327.5 kB / 0.549 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.408, allocations: 0 / 0.549 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.4083, allocations: 155.7 kB / 0.5491 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4093, allocations: 126.5 kB / 0.5492 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.416, allocations: 4.761 MB / 0.5539 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.4167, allocations: 0.8821 MB / 0.5547 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.4169, allocations: 87.22 kB / 0.5548 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.4172, allocations: 195.4 kB / 0.555 GB, free: 8.199 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4172, allocations: 0 / 0.555 GB, free: 8.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4532, allocations: 10.84 MB / 0.5656 GB, free: 13.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.952/9.405, allocations: 8.875 kB / 0.5656 GB, free: 13.48 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1)