Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.00183/0.00183, allocations: 113.3 kB / 20.22 MB, free: 1.789 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.001982/0.001982, allocations: 214.2 kB / 23.48 MB, free: 5.223 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.474/1.474, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2387/0.2387, allocations: 46.89 MB / 360 MB, free: 4.719 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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",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.002258/0.002258, allocations: 87.84 kB / 0.4951 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3931, allocations: 65.99 MB / 0.5596 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003593/0.3967, allocations: 1.992 MB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3988, allocations: 1.209 MB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.3989, allocations: 7.938 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.3996, allocations: 195.4 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.4, allocations: 207.2 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.4004, allocations: 163.5 kB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.4008, allocations: 267.3 kB / 0.5635 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4009, allocations: 8.312 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.4011, allocations: 119.5 kB / 0.5636 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4013, allocations: 123.5 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.4013, allocations: 12 kB / 0.5638 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.4015, allocations: 51.98 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4016, allocations: 63.75 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.4017, allocations: 83.36 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.4021, allocations: 248.8 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4021, allocations: 4 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4021, allocations: 0 / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4022, allocations: 0 / 0.5642 GB, free: 268 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001044/0.4032, allocations: 0.5697 MB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4032, allocations: 12.03 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.4033, allocations: 30.75 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.4034, allocations: 28.8 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.4038, allocations: 295.7 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4038, allocations: 4.375 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4038, allocations: 4.375 kB / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4041, allocations: 116.2 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4041, allocations: 0 / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4041, allocations: 4 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4041, allocations: 0 / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.4043, allocations: 39.92 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.4048, allocations: 393.5 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.4051, allocations: 113.2 kB / 0.5657 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.4053, allocations: 49.62 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4053, allocations: 0 / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.4055, allocations: 109.1 kB / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.4055, allocations: 4 kB / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004926/0.406, allocations: 181.4 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.4061, allocations: 102.8 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4065, allocations: 359.3 kB / 0.5665 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4065, allocations: 25.7 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4067, allocations: 140.1 kB / 0.5667 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.4067, allocations: 35.73 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.4067, allocations: 29.7 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.407, allocations: 346.8 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.4071, allocations: 27.98 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4072, allocations: 88.44 kB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.4074, allocations: 91.39 kB / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4074, allocations: 0 / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002776/0.4077, allocations: 150.1 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4077, allocations: 4 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4077, allocations: 8 kB / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4077, allocations: 0 / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4078, allocations: 31.91 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4078, allocations: 4.062 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.4079, allocations: 11.89 kB / 0.5675 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.408, allocations: 12 kB / 0.5675 GB, free: 12.59 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001455/0.4081, allocations: 145.8 kB / 0.5676 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.4082, allocations: 31.8 kB / 0.5676 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.4086, allocations: 163.4 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4086, allocations: 4 kB / 0.5678 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4086, allocations: 7.938 kB / 0.5678 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4086, allocations: 3.984 kB / 0.5678 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.4089, allocations: 253.6 kB / 0.5681 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4089, allocations: 0 / 0.5681 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.4089, allocations: 11.98 kB / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4089, allocations: 3.938 kB / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.409, allocations: 0 / 0.5681 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.409, allocations: 4 kB / 0.5681 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.409, allocations: 0 / 0.5681 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.4093, allocations: 185.7 kB / 0.5683 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.4094, allocations: 104.9 kB / 0.5684 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.4094, allocations: 3.938 kB / 0.5684 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.4095, allocations: 16.11 kB / 0.5684 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.4096, allocations: 11.98 kB / 0.5684 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.4096, allocations: 4 kB / 0.5684 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.4099, allocations: 261.9 kB / 0.5686 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4099, allocations: 4 kB / 0.5686 GB, free: 11.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.4101, allocations: 39.88 kB / 0.5687 GB, free: 11.25 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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): 7 * 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.002149/0.4123, allocations: 1.024 MB / 0.5697 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.4126, allocations: 95.89 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4126, allocations: 0 / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4127, allocations: 39.92 kB / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.4131, allocations: 69.73 kB / 0.5699 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.4162, allocations: 2.353 MB / 0.5722 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4166, allocations: 0.748 MB / 0.5729 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.4167, allocations: 37.91 kB / 0.5729 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4168, allocations: 75.41 kB / 0.573 GB, free: 6.801 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4168, allocations: 0 / 0.573 GB, free: 6.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.4484, allocations: 5.818 MB / 0.5787 GB, free: 1.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.389, allocations: 10.58 kB / 0.5787 GB, free: 1 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.309990077978] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'booleanTable.y', 'booleanTable.combiTimeTable.y[1]', 'booleanTable.realToBoolean.y'] 8.51421424979344 8.538789728 8.132103237 Calling exit ...