Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.001731/0.001731, allocations: 105.1 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.002216/0.002216, allocations: 213.9 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.579/1.579, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2406/0.2406, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",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.00243/0.00243, allocations: 83.84 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4154, allocations: 66.07 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003677/0.4191, allocations: 1.756 MB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.422, allocations: 1.745 MB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.4221, allocations: 3.938 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.4224, allocations: 39.77 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.4227, allocations: 95.59 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.423, allocations: 79.67 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.4232, allocations: 103.7 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4233, allocations: 17.91 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4234, allocations: 51.78 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.4236, allocations: 43.83 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.4236, allocations: 4 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.4238, allocations: 111.9 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.4238, allocations: 15.92 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.4239, allocations: 39.78 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.4242, allocations: 175.2 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4242, allocations: 0 / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4242, allocations: 0 / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4242, allocations: 0 / 0.5657 GB, free: 16 kB / 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.0006819/0.4249, allocations: 349.5 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.425, allocations: 12.03 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.425, allocations: 34.75 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.4251, allocations: 12.84 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4254, allocations: 154.3 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4254, allocations: 384 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4255, allocations: 7.938 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4256, allocations: 75.27 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4257, allocations: 4 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4257, allocations: 4 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4257, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.4258, allocations: 19.98 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.4262, allocations: 263.9 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.4263, allocations: 54.62 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.4264, allocations: 20.84 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4264, allocations: 7.938 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.4266, allocations: 63.39 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4266, allocations: 0 / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.4272, allocations: 173.4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.4273, allocations: 81.11 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4275, allocations: 166.4 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4275, allocations: 29.7 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.4275, allocations: 96.12 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.4276, allocations: 27.75 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.4276, allocations: 29.7 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4278, allocations: 318.8 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.4278, allocations: 19.94 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.4279, allocations: 50.56 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.428, allocations: 61.75 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.428, allocations: 384 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.4282, allocations: 105.6 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4283, allocations: 4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4283, allocations: 0 / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4283, allocations: 8.062 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.4284, allocations: 16 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4284, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.4284, allocations: 11.92 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4285, allocations: 0 / 0.5679 GB, free: 13.56 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 (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.0001235/0.4286, allocations: 126.7 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.4286, allocations: 7.953 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.4289, allocations: 106.4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4289, allocations: 4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4289, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4289, allocations: 11.88 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.4294, allocations: 370.3 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4294, allocations: 0 / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.4294, allocations: 11.94 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4294, allocations: 7.922 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4294, allocations: 7.984 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4294, allocations: 0 / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4294, allocations: 4.031 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.4297, allocations: 200.5 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.4297, allocations: 7.953 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.4297, allocations: 7.875 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4298, allocations: 7.984 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4299, allocations: 8 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.4299, allocations: 11.98 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.43, allocations: 127.9 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.43, allocations: 0 / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.4303, allocations: 43.86 kB / 0.5689 GB, free: 12.42 MB / 414.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.002503/0.4328, allocations: 1.179 MB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.433, allocations: 63.91 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.433, allocations: 0 / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.4331, allocations: 28.05 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.4335, allocations: 40.02 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.4355, allocations: 1.588 MB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4358, allocations: 0.7002 MB / 0.5725 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.4359, allocations: 16.97 kB / 0.5725 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.436, allocations: 39.42 kB / 0.5725 GB, free: 8.809 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.436, allocations: 0 / 0.5725 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4671, allocations: 4.107 MB / 0.5765 GB, free: 4.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.442, allocations: 3.938 kB / 0.5765 GB, free: 4.68 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.504483715165406] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.589164198376238 8.615483962 8.1857137 Calling exit ...