Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.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.001612/0.001612, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.001893/0.001893, allocations: 219.3 kB / 23.72 MB, free: 5.051 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.2 MB / 257.1 MB, free: 8.473 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.2526/0.2526, allocations: 46.9 MB / 360.4 MB, free: 4.625 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34",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.002316/0.002316, allocations: 79.86 kB / 0.4956 GB, free: 8.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4309, allocations: 66 MB / 0.5601 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003539/0.4344, allocations: 1.725 MB / 0.5618 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.4363, allocations: 1.049 MB / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.4364, allocations: 0 / 0.5628 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.4367, allocations: 43.77 kB / 0.5628 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.4371, allocations: 95.59 kB / 0.5629 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.4373, allocations: 79.61 kB / 0.563 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.4375, allocations: 111.6 kB / 0.5631 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4376, allocations: 9.812 kB / 0.5631 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4377, allocations: 47.78 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.4378, allocations: 31.84 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4378, allocations: 4 kB / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.4379, allocations: 39.98 kB / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.438, allocations: 23.91 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.438, allocations: 31.75 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.4383, allocations: 131.4 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4383, allocations: 0 / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4383, allocations: 0 / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4383, allocations: 0 / 0.5634 GB, free: 1.484 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.0007045/0.439, allocations: 426.7 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.439, allocations: 8.031 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.4391, allocations: 34.73 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.4391, allocations: 12.88 kB / 0.5639 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4395, allocations: 220.8 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4395, allocations: 384 / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4395, allocations: 384 / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4397, allocations: 65.73 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4397, allocations: 0 / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4397, allocations: 4 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4397, allocations: 0 / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.4398, allocations: 19.98 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.4402, allocations: 288.8 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.4404, allocations: 62.61 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.4404, allocations: 16.86 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4405, allocations: 4 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.4406, allocations: 63.39 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4406, allocations: 3.938 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006013/0.4412, allocations: 173.3 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4413, allocations: 55.41 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4415, allocations: 198.4 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4415, allocations: 29.7 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.4416, allocations: 100.1 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.4416, allocations: 31.77 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.4417, allocations: 25.72 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4418, allocations: 322.8 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.4419, allocations: 23.98 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.442, allocations: 49.58 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.4421, allocations: 53.72 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4421, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.4423, allocations: 109.5 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4423, allocations: 4 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4423, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4423, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.4424, allocations: 19.98 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4424, allocations: 4.031 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.4424, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4425, allocations: 8 kB / 0.5657 GB, free: 14.85 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.0001276/0.4426, allocations: 132.5 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.4426, allocations: 15.91 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.4429, allocations: 115.2 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4429, allocations: 0 / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4429, allocations: 0 / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4429, allocations: 8 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.4433, allocations: 391.3 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4433, allocations: 4 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.4434, allocations: 8.359 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4434, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4434, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4434, allocations: 7.875 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4434, allocations: 4 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.4437, allocations: 212.2 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.4437, allocations: 81.06 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4437, allocations: 7.984 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.4438, allocations: 3.938 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.4438, allocations: 11.98 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4439, allocations: 7.984 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.444, allocations: 148.2 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.444, allocations: 0 / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.4443, allocations: 27.92 kB / 0.5669 GB, free: 13.57 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.002144/0.4464, allocations: 1.084 MB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.4466, allocations: 63.83 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4466, allocations: 0 / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.4467, allocations: 31.92 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4471, allocations: 33.11 kB / 0.5681 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.449, allocations: 1.677 MB / 0.5697 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4494, allocations: 0.7041 MB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.4495, allocations: 16.88 kB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.4495, allocations: 35.42 kB / 0.5704 GB, free: 9.957 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4495, allocations: 0 / 0.5704 GB, free: 9.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.4769, allocations: 3.486 MB / 0.5738 GB, free: 6.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.481, allocations: 3.844 kB / 0.5738 GB, free: 6.469 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.558255762327462] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.607298858929425 8.622631705 8.181103975 Calling exit ...