Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001254/0.001254, 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.001359/0.001359, allocations: 212 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.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2746/0.2746, allocations: 46.93 MB / 361.6 MB, free: 4.293 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",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.002399/0.002399, allocations: 80.16 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4089, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00339/0.4123, allocations: 1.757 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4142, allocations: 1.056 MB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.82e-05/0.4142, allocations: 4 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.4146, allocations: 87.69 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.4149, allocations: 119.5 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.4152, allocations: 79.72 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.4154, allocations: 123.6 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4155, allocations: 17.94 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.4156, allocations: 51.78 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.4157, allocations: 63.8 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4157, allocations: 11.94 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.4159, allocations: 59.97 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.4159, allocations: 27.86 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.416, allocations: 35.75 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.4162, allocations: 143.4 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4163, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4163, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4163, allocations: 0 / 0.5651 GB, free: 0.6445 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006054/0.4169, allocations: 373.3 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4169, allocations: 12.03 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.417, allocations: 34.75 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.417, allocations: 20.78 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.4173, allocations: 162.3 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4173, allocations: 4.359 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4174, allocations: 8.312 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4175, allocations: 57.8 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4175, allocations: 4 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4176, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4176, allocations: 4 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.4176, allocations: 23.92 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.418, allocations: 275.8 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.4183, allocations: 54.55 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.4184, allocations: 20.97 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4184, allocations: 8 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.4185, allocations: 71.33 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4185, allocations: 0 / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008196/0.4194, allocations: 249.7 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4194, allocations: 51.41 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.4197, allocations: 231.4 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4197, allocations: 29.7 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4198, allocations: 108.1 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.4199, allocations: 35.73 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.42, allocations: 25.7 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4201, allocations: 326.8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-05/0.4202, allocations: 27.98 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.4203, allocations: 41.7 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4205, allocations: 85.64 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4205, allocations: 0 / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002328/0.4207, allocations: 133.5 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4207, allocations: 10.5 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4207, allocations: 0 / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4207, allocations: 0 / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.4208, allocations: 23.98 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4208, allocations: 0 / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.4209, allocations: 7.969 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4209, allocations: 8 kB / 0.5675 GB, free: 13.95 MB / 414.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 (13): * Single equations (assignments): 13 * 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.000148/0.421, allocations: 142.6 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.421, allocations: 15.91 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4214, allocations: 147.1 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4214, allocations: 4 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4214, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4214, allocations: 7.922 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.4219, allocations: 419.2 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4219, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.422, allocations: 23.92 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.422, allocations: 4 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.422, allocations: 0 / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.422, allocations: 4 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.422, allocations: 3.938 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.4223, allocations: 229.2 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.4223, allocations: 15.84 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.4223, allocations: 8 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.4224, allocations: 4 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.4224, allocations: 7.984 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4224, allocations: 16.03 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.4226, allocations: 173.1 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4226, allocations: 0 / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.4229, allocations: 31.94 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002409/0.4253, allocations: 1.164 MB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.4255, allocations: 71.84 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4255, allocations: 4 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.4256, allocations: 35.92 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4259, allocations: 35.89 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4281, allocations: 1.827 MB / 0.5718 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4285, allocations: 0.7158 MB / 0.5725 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.4286, allocations: 20.64 kB / 0.5725 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.4287, allocations: 39.42 kB / 0.5726 GB, free: 8.742 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4287, allocations: 0 / 0.5726 GB, free: 8.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.4595, allocations: 3.985 MB / 0.5765 GB, free: 4.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.319, allocations: 6.406 kB / 0.5765 GB, free: 4.766 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.403787845745683] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.464163262862712 8.493377103 8.071804865 Calling exit ...