Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001599/0.001599, 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.00188/0.00188, allocations: 213.2 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.57/1.57, allocations: 230.5 MB / 258.2 MB, free: 8 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.2365/0.2365, allocations: 46.93 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] 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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",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.002323/0.002323, allocations: 75.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4083, allocations: 66.1 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003731/0.412, allocations: 1.928 MB / 0.5635 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.4142, allocations: 1.15 MB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.4143, allocations: 3.938 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.4147, allocations: 167.4 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.4152, allocations: 191.2 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.4155, allocations: 119.6 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.4158, allocations: 239.3 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.416, allocations: 23.92 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.4162, allocations: 123.5 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.4164, allocations: 139.5 kB / 0.5656 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.4164, allocations: 8 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4165, allocations: 67.95 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.4166, allocations: 55.72 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4168, allocations: 91.47 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.4171, allocations: 215 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4171, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4171, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.4171, allocations: 0 / 0.566 GB, free: 15.73 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.0008033/0.4179, allocations: 488.4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4179, allocations: 8.031 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.418, allocations: 38.75 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.418, allocations: 36.73 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.4186, allocations: 214.6 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4186, allocations: 8.312 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4186, allocations: 12.38 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.4189, allocations: 114.9 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4189, allocations: 4 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4189, allocations: 3.984 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4189, allocations: 11.94 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.4191, allocations: 51.89 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.4197, allocations: 431.9 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.4201, allocations: 125.1 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4202, allocations: 41.83 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4202, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.4205, allocations: 124.8 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4205, allocations: 4 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.4218, allocations: 497.7 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4219, allocations: 81.11 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.4223, allocations: 376.5 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4223, allocations: 29.7 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4224, allocations: 148.5 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.4225, allocations: 75.33 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.4226, allocations: 41.7 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4227, allocations: 346.8 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4229, allocations: 55.98 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.423, allocations: 96.14 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4233, allocations: 159.5 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4233, allocations: 0 / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.4237, allocations: 229.3 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4237, allocations: 10.5 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4238, allocations: 3.938 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4238, allocations: 0 / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4239, allocations: 51.98 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.4239, allocations: 4 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.424, allocations: 11.98 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.424, allocations: 4 kB / 0.5697 GB, free: 11.62 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.00016/0.4242, allocations: 157.8 kB / 0.5699 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.4242, allocations: 31.81 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.4247, allocations: 263.5 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4247, allocations: 15.98 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4248, allocations: 0 / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.4248, allocations: 0 / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.4257, allocations: 0.6989 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4257, allocations: 4.125 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.4258, allocations: 35.92 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.4258, allocations: 0 / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4258, allocations: 8 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4258, allocations: 4 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4258, allocations: 4 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.4263, allocations: 425.8 kB / 0.5713 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.4264, allocations: 19.86 kB / 0.5713 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.4264, allocations: 8 kB / 0.5714 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4265, allocations: 7.984 kB / 0.5714 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.4266, allocations: 27.84 kB / 0.5714 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.4266, allocations: 16 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.4269, allocations: 275 kB / 0.5717 GB, free: 9.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4269, allocations: 4 kB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.4273, allocations: 47.92 kB / 0.5717 GB, free: 9.492 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.00265/0.4299, allocations: 1.352 MB / 0.573 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.4303, allocations: 155.7 kB / 0.5732 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4303, allocations: 4.125 kB / 0.5732 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4305, allocations: 71.84 kB / 0.5733 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.4311, allocations: 70.62 kB / 0.5733 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.4345, allocations: 2.699 MB / 0.576 GB, free: 5.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.435, allocations: 0.7636 MB / 0.5767 GB, free: 4.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.4351, allocations: 37.92 kB / 0.5767 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.4352, allocations: 91.39 kB / 0.5768 GB, free: 4.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4352, allocations: 3.938 kB / 0.5768 GB, free: 4.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.4671, allocations: 6.258 MB / 0.5829 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.59, allocations: 0.7031 kB / 0.5829 GB, free: 14 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.637317116837949] 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.739186197984964 8.7702999 8.34744776 Calling exit ...