Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.001379/0.001379, allocations: 109.2 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.001593/0.001593, allocations: 218 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.453/1.453, allocations: 230.2 MB / 257.1 MB, free: 8.461 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.2301/0.2301, allocations: 46.87 MB / 360.3 MB, free: 4.656 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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",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.002233/0.002233, allocations: 83.88 kB / 0.4956 GB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3018, allocations: 66 MB / 0.5601 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003557/0.3053, allocations: 1.945 MB / 0.562 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3073, allocations: 1.084 MB / 0.563 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.3074, allocations: 7.938 kB / 0.563 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.3077, allocations: 43.7 kB / 0.5631 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.308, allocations: 103.5 kB / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3083, allocations: 95.64 kB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.3086, allocations: 155.5 kB / 0.5634 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3087, allocations: 19.39 kB / 0.5634 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3088, allocations: 59.7 kB / 0.5635 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3089, allocations: 51.7 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.309, allocations: 8 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.3091, allocations: 43.98 kB / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3091, allocations: 31.91 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.3092, allocations: 55.55 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.3095, allocations: 155.2 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3095, allocations: 4 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3095, allocations: 4 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3095, allocations: 0 / 0.5638 GB, free: 1.035 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007494/0.3102, allocations: 484.2 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3103, allocations: 11.97 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.3103, allocations: 38.75 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.3104, allocations: 20.83 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3108, allocations: 236.8 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3108, allocations: 4.375 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.3109, allocations: 8.375 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.3112, allocations: 114.8 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3112, allocations: 0 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3112, allocations: 7.938 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3112, allocations: 4 kB / 0.5647 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.3115, allocations: 51.91 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.3123, allocations: 0.4932 MB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.3128, allocations: 90.59 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3129, allocations: 32.84 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3129, allocations: 7.969 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.3133, allocations: 83.38 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.3133, allocations: 0 / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004865/0.3138, allocations: 145.8 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3138, allocations: 55.5 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.314, allocations: 211 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3141, allocations: 29.64 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.3141, allocations: 120.1 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3142, allocations: 31.73 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3142, allocations: 29.7 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3144, allocations: 330.8 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.3145, allocations: 23.98 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3146, allocations: 64.27 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3148, allocations: 96.2 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3148, allocations: 0 / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002846/0.3151, allocations: 137.5 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3151, allocations: 4 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3151, allocations: 3.984 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3151, allocations: 8.125 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3152, allocations: 23.94 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3152, allocations: 11.92 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.3153, allocations: 11.95 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3153, allocations: 4 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000116/0.3154, allocations: 131.9 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3154, allocations: 19.89 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3157, allocations: 127.1 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3157, allocations: 96 / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3158, allocations: 11.81 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3158, allocations: 0 / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3159, allocations: 205.6 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3159, allocations: 7.938 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.316, allocations: 11.98 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.316, allocations: 0 / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.316, allocations: 0 / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.316, allocations: 4 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.316, allocations: 3.938 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3164, allocations: 180.9 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.3165, allocations: 97.03 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3165, allocations: 0 / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.3166, allocations: 4 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3166, allocations: 11.92 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3166, allocations: 8.062 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3168, allocations: 144.4 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3168, allocations: 0 / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.317, allocations: 27.94 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002031/0.319, allocations: 1.021 MB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.3193, allocations: 75.89 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3193, allocations: 0 / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3194, allocations: 39.86 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3198, allocations: 43.59 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3223, allocations: 1.762 MB / 0.5705 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3228, allocations: 0.7201 MB / 0.5712 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.3229, allocations: 25.39 kB / 0.5713 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.323, allocations: 43.41 kB / 0.5713 GB, free: 8.945 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.323, allocations: 0 / 0.5713 GB, free: 8.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.3484, allocations: 3.856 MB / 0.5751 GB, free: 5.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.501, allocations: 7.125 kB / 0.5751 GB, free: 5.086 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.344262832775712] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.628784511703998 8.652778552 8.339854097 Calling exit ...