Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2472/0.2472, allocations: 46.94 MB / 361.6 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 179] 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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002342/0.002342, allocations: 87.86 kB / 0.4971 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3948, allocations: 66.07 MB / 0.5616 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003906/0.3987, allocations: 1.947 MB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.4009, allocations: 1.15 MB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.401, allocations: 7.938 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.4015, allocations: 247.4 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.402, allocations: 239.1 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.4023, allocations: 115.7 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.4027, allocations: 279.2 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.4028, allocations: 23.88 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.403, allocations: 139.5 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.4033, allocations: 215.5 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.4034, allocations: 8 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.4035, allocations: 59.98 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4036, allocations: 71.69 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.4037, allocations: 95.08 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.4042, allocations: 250.8 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4042, allocations: 0 / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4042, allocations: 0 / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4042, allocations: 4 kB / 0.5663 GB, free: 15.49 MB / 414.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.0008766/0.4051, allocations: 0.5312 MB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4051, allocations: 8.031 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.4052, allocations: 42.73 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.4052, allocations: 32.75 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.4057, allocations: 232.9 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4057, allocations: 4.375 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.4057, allocations: 16.38 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.406, allocations: 122.2 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.406, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.406, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.406, allocations: 4 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.4062, allocations: 47.97 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.4068, allocations: 455.9 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.4072, allocations: 117.2 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4073, allocations: 41.83 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4073, allocations: 8 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.4076, allocations: 124.5 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4076, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001354/0.4089, allocations: 0.513 MB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.409, allocations: 81.11 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.4095, allocations: 0.4899 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4096, allocations: 29.7 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4097, allocations: 168.5 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.4098, allocations: 75.41 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.4099, allocations: 45.64 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4101, allocations: 350.8 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4102, allocations: 55.98 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4103, allocations: 96.2 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4106, allocations: 159.3 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4106, allocations: 4 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004241/0.4111, allocations: 241.4 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4111, allocations: 10.19 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4111, allocations: 3.938 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4111, allocations: 4 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.4112, allocations: 39.92 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4113, allocations: 4.234 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.488e-05/0.4113, allocations: 11.98 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4114, allocations: 8.047 kB / 0.5703 GB, free: 11.11 MB / 414.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.0001897/0.4115, allocations: 177.8 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.4116, allocations: 39.75 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.4122, allocations: 272.3 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4122, allocations: 4 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4122, allocations: 0 / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4122, allocations: 4 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.4132, allocations: 0.7184 MB / 0.5715 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4132, allocations: 0 / 0.5715 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.4133, allocations: 31.92 kB / 0.5715 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4133, allocations: 0 / 0.5715 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4133, allocations: 12 kB / 0.5715 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4133, allocations: 0 / 0.5715 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4133, allocations: 8.125 kB / 0.5715 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.4138, allocations: 426 kB / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.4138, allocations: 35.75 kB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4139, allocations: 8 kB / 0.572 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.414, allocations: 11.98 kB / 0.572 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.4141, allocations: 23.91 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.4141, allocations: 11.94 kB / 0.572 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.4145, allocations: 375.1 kB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4145, allocations: 0 / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.4148, allocations: 51.92 kB / 0.5724 GB, free: 8.824 MB / 414.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.002663/0.4175, allocations: 1.356 MB / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.4179, allocations: 151.8 kB / 0.5739 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4179, allocations: 3.938 kB / 0.5739 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.418, allocations: 75.78 kB / 0.574 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.4186, allocations: 68.3 kB / 0.574 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.4224, allocations: 3.002 MB / 0.577 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4228, allocations: 0.7831 MB / 0.5777 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.4229, allocations: 37.94 kB / 0.5778 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4231, allocations: 103.4 kB / 0.5779 GB, free: 3.254 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4231, allocations: 0 / 0.5779 GB, free: 3.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.4552, allocations: 6.812 MB / 0.5845 GB, free: 12.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.601, allocations: 6.797 kB / 0.5845 GB, free: 12.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.655816358048469] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.75600067526102 8.771231056 8.363885966 Calling exit ...