Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.45 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.2333/0.2333, allocations: 46.11 MB / 344.3 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.002493/0.002493, allocations: 79.88 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3852, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004651/0.3899, allocations: 2.37 MB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.393, allocations: 1.382 MB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3933, allocations: 7.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.3939, allocations: 289.4 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.3946, allocations: 337.8 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.3952, allocations: 217.6 kB / 0.5351 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.3958, allocations: 0.553 MB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.396, allocations: 62.22 kB / 0.5357 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.3963, allocations: 239.9 kB / 0.536 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.3967, allocations: 275.6 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.3967, allocations: 18.09 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3969, allocations: 55.36 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3971, allocations: 111.4 kB / 0.5364 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.3973, allocations: 181.7 kB / 0.5366 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.3978, allocations: 429.8 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3979, allocations: 1.344 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3979, allocations: 0 / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.3979, allocations: 0 / 0.537 GB, free: 8.695 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001256/0.3991, allocations: 0.8135 MB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3992, allocations: 9.594 kB / 0.5378 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.3993, allocations: 47.67 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3994, allocations: 61.59 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.4, allocations: 434.6 kB / 0.5383 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4, allocations: 10.34 kB / 0.5383 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.4001, allocations: 21.42 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.4005, allocations: 199.7 kB / 0.5385 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4005, allocations: 5.141 kB / 0.5385 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.4006, allocations: 5.156 kB / 0.5385 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4006, allocations: 3.562 kB / 0.5386 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.4008, allocations: 100.5 kB / 0.5386 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.4019, allocations: 0.8696 MB / 0.5395 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.4026, allocations: 292.8 kB / 0.5398 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.4028, allocations: 94.02 kB / 0.5399 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.4029, allocations: 12.3 kB / 0.5399 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.4033, allocations: 222.2 kB / 0.5401 GB, free: 5.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.4033, allocations: 0 / 0.5401 GB, free: 5.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002415/0.4058, allocations: 1.038 MB / 0.5411 GB, free: 5.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.4059, allocations: 167.9 kB / 0.5413 GB, free: 5.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.4068, allocations: 0.6522 MB / 0.5419 GB, free: 4.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.4069, allocations: 41.61 kB / 0.5419 GB, free: 4.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4071, allocations: 231.8 kB / 0.5422 GB, free: 4.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.4073, allocations: 133.5 kB / 0.5423 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.4074, allocations: 70.81 kB / 0.5424 GB, free: 4.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4076, allocations: 375.2 kB / 0.5427 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4078, allocations: 97.77 kB / 0.5428 GB, free: 4.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.4082, allocations: 184.1 kB / 0.543 GB, free: 3.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.4088, allocations: 305.6 kB / 0.5433 GB, free: 3.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4088, allocations: 1.094 kB / 0.5433 GB, free: 3.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007701/0.4096, allocations: 414 kB / 0.5437 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4096, allocations: 6.781 kB / 0.5437 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4096, allocations: 2.219 kB / 0.5437 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4096, allocations: 4.75 kB / 0.5437 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.4099, allocations: 80.5 kB / 0.5438 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.4099, allocations: 16.95 kB / 0.5438 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.4101, allocations: 17.19 kB / 0.5438 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.4102, allocations: 20.58 kB / 0.5438 GB, free: 3.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002379/0.4104, allocations: 204.5 kB / 0.544 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.4105, allocations: 71.59 kB / 0.5441 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.4107, allocations: 67.72 kB / 0.5441 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4107, allocations: 5.875 kB / 0.5441 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.4107, allocations: 1.312 kB / 0.5441 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4107, allocations: 5.703 kB / 0.5442 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4125, allocations: 1.273 MB / 0.5454 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4125, allocations: 4 kB / 0.5454 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.4126, allocations: 47.91 kB / 0.5454 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.4126, allocations: 7.984 kB / 0.5455 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4127, allocations: 16.09 kB / 0.5455 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.4127, allocations: 11.98 kB / 0.5455 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4127, allocations: 4 kB / 0.5455 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.4137, allocations: 0.8287 MB / 0.5463 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4138, allocations: 124.7 kB / 0.5464 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.4139, allocations: 19.92 kB / 0.5464 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.4142, allocations: 19.98 kB / 0.5464 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.4143, allocations: 35.91 kB / 0.5465 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.4143, allocations: 23.98 kB / 0.5465 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005804/0.4149, allocations: 486.8 kB / 0.547 GB, free: 428 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4149, allocations: 0 / 0.547 GB, free: 428 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00056/0.4155, allocations: 83.94 kB / 0.5471 GB, free: 344 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002838/0.4183, allocations: 1.734 MB / 0.5487 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.419, allocations: 287.7 kB / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.419, allocations: 0 / 0.549 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.4193, allocations: 156.8 kB / 0.5492 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4204, allocations: 153.9 kB / 0.5493 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.4263, allocations: 4.533 MB / 0.5537 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.4269, allocations: 0.8629 MB / 0.5546 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.4272, allocations: 76.14 kB / 0.5547 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.4275, allocations: 191.3 kB / 0.5548 GB, free: 8.273 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4275, allocations: 0 / 0.5548 GB, free: 8.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.4632, allocations: 10.91 MB / 0.5655 GB, free: 13.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.866/9.329, allocations: 11.94 kB / 0.5655 GB, free: 13.49 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)