Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001276/0.001276, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001518/0.001518, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.542/1.542, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.93 MB / 361.6 MB, free: 4.191 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",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.002754/0.002754, allocations: 79.86 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4097, allocations: 66.09 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003291/0.413, allocations: 1.737 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4149, allocations: 1.057 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.415, allocations: 0 / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.4153, allocations: 55.75 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.4156, allocations: 103.5 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4158, allocations: 83.66 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.416, allocations: 91.77 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.4161, allocations: 21.88 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4162, allocations: 47.73 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.4163, allocations: 35.78 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4163, allocations: 4 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.4164, allocations: 43.97 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.4164, allocations: 27.86 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.4165, allocations: 47.69 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4168, allocations: 143.3 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4168, allocations: 0 / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4168, allocations: 0 / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4168, allocations: 0 / 0.565 GB, free: 0.7578 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006301/0.4174, allocations: 381.2 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4175, allocations: 12.03 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.4175, allocations: 34.75 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.4176, allocations: 16.84 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.4179, allocations: 173.9 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4179, allocations: 8.375 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4179, allocations: 384 / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.4181, allocations: 57.8 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4181, allocations: 4 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4181, allocations: 0 / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4181, allocations: 7.938 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.4182, allocations: 20.05 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.4186, allocations: 271.9 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4188, allocations: 54.62 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.4188, allocations: 24.78 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4189, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.419, allocations: 71.39 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.419, allocations: 0 / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.4196, allocations: 189.2 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4196, allocations: 51.41 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.42, allocations: 284.2 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.42, allocations: 25.7 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.4201, allocations: 120.1 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4201, allocations: 27.78 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.4201, allocations: 29.7 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4203, allocations: 330.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.4204, allocations: 19.98 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.4204, allocations: 37.64 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4206, allocations: 61.66 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4206, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.4208, allocations: 117.5 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4208, allocations: 6.344 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4208, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4208, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.4209, allocations: 15.98 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4209, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.4209, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4209, allocations: 0 / 0.5673 GB, free: 14.14 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.0001393/0.4211, allocations: 146.7 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4211, allocations: 11.91 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.4214, allocations: 119 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4214, allocations: 4 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4214, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4214, allocations: 3.984 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.4218, allocations: 378.3 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4218, allocations: 4.406 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.4219, allocations: 11.98 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4219, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4219, allocations: 3.938 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4219, allocations: 7.938 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4219, allocations: 320 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.4221, allocations: 212.2 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.4222, allocations: 19.86 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4222, allocations: 11.98 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.4223, allocations: 3.938 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.4223, allocations: 7.984 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.4223, allocations: 4 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4225, allocations: 211.2 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4225, allocations: 0 / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4228, allocations: 23.94 kB / 0.5685 GB, free: 12.88 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.002166/0.4249, allocations: 1.084 MB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.4251, allocations: 67.78 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4251, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.4252, allocations: 27.97 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4256, allocations: 27.92 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.4278, allocations: 1.871 MB / 0.5715 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4283, allocations: 0.7236 MB / 0.5722 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.4283, allocations: 25.2 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.4284, allocations: 43.42 kB / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4284, allocations: 0 / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4577, allocations: 3.925 MB / 0.5761 GB, free: 5.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.421, allocations: 8 kB / 0.5761 GB, free: 5.109 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.518863342702389] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.56461273925379 8.588504039 8.167128189 Calling exit ...