Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.001316/0.001316, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.0015/0.0015, allocations: 220.2 kB / 23.48 MB, free: 5.25 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.468/1.468, 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.251/0.251, allocations: 46.89 MB / 360 MB, free: 4.727 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",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.002457/0.002457, allocations: 84.14 kB / 0.4951 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3911, allocations: 65.97 MB / 0.5595 GB, free: 34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003329/0.3944, allocations: 2.332 MB / 0.5618 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3969, allocations: 1.715 MB / 0.5635 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3971, allocations: 7.219 kB / 0.5635 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.3975, allocations: 146.6 kB / 0.5636 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.3981, allocations: 294.5 kB / 0.5639 GB, free: 31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.3993, allocations: 0.5322 MB / 0.5644 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006429/0.4, allocations: 0.5658 MB / 0.565 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.4001, allocations: 48.34 kB / 0.565 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.4004, allocations: 237.9 kB / 0.5652 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.4007, allocations: 237.5 kB / 0.5655 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.4008, allocations: 27 kB / 0.5655 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.4011, allocations: 189 kB / 0.5657 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.4013, allocations: 127 kB / 0.5658 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.4014, allocations: 211.2 kB / 0.566 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.4021, allocations: 0.603 MB / 0.5666 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4021, allocations: 0 / 0.5666 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4021, allocations: 0.7188 kB / 0.5666 GB, free: 29.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4021, allocations: 0 / 0.5666 GB, free: 29.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001207/0.4033, allocations: 0.9299 MB / 0.5675 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4033, allocations: 15.91 kB / 0.5675 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.4034, allocations: 44.94 kB / 0.5675 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.4035, allocations: 63.59 kB / 0.5676 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.4041, allocations: 486.1 kB / 0.5681 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4041, allocations: 14.25 kB / 0.5681 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4042, allocations: 17.75 kB / 0.5681 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.4046, allocations: 272.2 kB / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4046, allocations: 0 / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.4046, allocations: 7.062 kB / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4046, allocations: 3.156 kB / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.4049, allocations: 109.3 kB / 0.5685 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.4059, allocations: 0.8857 MB / 0.5693 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.4065, allocations: 290.6 kB / 0.5696 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4067, allocations: 95.94 kB / 0.5697 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.4067, allocations: 10.7 kB / 0.5697 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.4071, allocations: 219.4 kB / 0.5699 GB, free: 27.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.684e-06/0.4071, allocations: 0 / 0.5699 GB, free: 27.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009414/0.408, allocations: 404.5 kB / 0.5703 GB, free: 27.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.4081, allocations: 348.9 kB / 0.5706 GB, free: 26.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.409, allocations: 0.6735 MB / 0.5713 GB, free: 26.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.4091, allocations: 35.19 kB / 0.5713 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4092, allocations: 234.9 kB / 0.5716 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.4093, allocations: 71.81 kB / 0.5716 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4094, allocations: 64.89 kB / 0.5717 GB, free: 26.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4095, allocations: 366.7 kB / 0.572 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.4097, allocations: 79.25 kB / 0.5721 GB, free: 25.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.41, allocations: 248 kB / 0.5723 GB, free: 25.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.4104, allocations: 232.6 kB / 0.5726 GB, free: 25.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4104, allocations: 5.375 kB / 0.5726 GB, free: 25.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005935/0.411, allocations: 313 kB / 0.5729 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.411, allocations: 6.25 kB / 0.5729 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.411, allocations: 3 kB / 0.5729 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.411, allocations: 2.75 kB / 0.5729 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.4113, allocations: 58.31 kB / 0.5729 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.4113, allocations: 12.09 kB / 0.573 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4116, allocations: 31.38 kB / 0.573 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.4116, allocations: 18.06 kB / 0.573 GB, free: 25.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002534/0.4118, allocations: 215.8 kB / 0.5732 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.4119, allocations: 59.3 kB / 0.5733 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.4127, allocations: 349.1 kB / 0.5736 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4127, allocations: 3.562 kB / 0.5736 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4127, allocations: 5.188 kB / 0.5736 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4127, allocations: 2.359 kB / 0.5736 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.4131, allocations: 422.9 kB / 0.574 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4131, allocations: 1.125 kB / 0.574 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.4132, allocations: 27.75 kB / 0.574 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4132, allocations: 2.156 kB / 0.574 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4133, allocations: 12.58 kB / 0.574 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4133, allocations: 1.969 kB / 0.5741 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4133, allocations: 13.41 kB / 0.5741 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.4139, allocations: 360.7 kB / 0.5744 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.414, allocations: 134 kB / 0.5745 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.4141, allocations: 9.906 kB / 0.5745 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.4142, allocations: 21.11 kB / 0.5746 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4143, allocations: 40.83 kB / 0.5746 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.4144, allocations: 13.45 kB / 0.5746 GB, free: 24.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005511/0.4149, allocations: 492.9 kB / 0.5751 GB, free: 23.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 1.188 kB / 0.5751 GB, free: 23.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.4154, allocations: 98.16 kB / 0.5752 GB, free: 23.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002312/0.4177, allocations: 1.263 MB / 0.5764 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005943/0.4183, allocations: 233.2 kB / 0.5766 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4183, allocations: 0 / 0.5766 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.4186, allocations: 157.3 kB / 0.5768 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.4193, allocations: 148.7 kB / 0.5769 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.4247, allocations: 4.283 MB / 0.5811 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.425, allocations: 0.8475 MB / 0.5819 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.4253, allocations: 93.83 kB / 0.582 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4255, allocations: 178 kB / 0.5822 GB, free: 19.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4255, allocations: 1.062 kB / 0.5822 GB, free: 19.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4673, allocations: 12.87 MB / 0.5948 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.235, allocations: 1 kB / 0.5948 GB, free: 15.98 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.179761207895353] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.364293762948364 9.381128555 8.975716302 Calling exit ...