Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.633/1.633, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2887/0.2887, allocations: 44.92 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00281/0.00281, allocations: 59.89 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4176, allocations: 65.46 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003685/0.4213, allocations: 1.845 MB / 0.5596 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.4234, allocations: 1.124 MB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.4235, allocations: 7.938 kB / 0.5607 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.424, allocations: 307.3 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.4246, allocations: 263.2 kB / 0.5613 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.4249, allocations: 103.6 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.4252, allocations: 263.2 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.4253, allocations: 13.81 kB / 0.5617 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.4255, allocations: 143.5 kB / 0.5618 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.4258, allocations: 211.5 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.4258, allocations: 12 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.426, allocations: 43.98 kB / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.4261, allocations: 143.5 kB / 0.5622 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.4263, allocations: 150.8 kB / 0.5623 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.4268, allocations: 384.1 kB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4268, allocations: 0 / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4268, allocations: 0 / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4268, allocations: 0 / 0.5627 GB, free: 2.781 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001037/0.4278, allocations: 0.6785 MB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4279, allocations: 19.97 kB / 0.5634 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.849e-05/0.4279, allocations: 4.172 kB / 0.5634 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.4279, allocations: 34.75 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.428, allocations: 52.61 kB / 0.5635 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007961/0.4288, allocations: 398.5 kB / 0.5638 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4288, allocations: 8.125 kB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.4289, allocations: 4 kB / 0.5639 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.4291, allocations: 99.28 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4291, allocations: 0 / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4291, allocations: 0 / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4291, allocations: 0 / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4292, allocations: 27.98 kB / 0.564 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.4298, allocations: 357.4 kB / 0.5643 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.4301, allocations: 105.1 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4302, allocations: 37.7 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.4302, allocations: 0 / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4304, allocations: 117 kB / 0.5646 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.4304, allocations: 0 / 0.5646 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005229/0.4309, allocations: 205.4 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.431, allocations: 77.11 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4322, allocations: 1.058 MB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4322, allocations: 25.7 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4324, allocations: 244.1 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.4325, allocations: 23.81 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.4325, allocations: 29.7 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4327, allocations: 366.8 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.4328, allocations: 35.98 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.433, allocations: 59.34 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.4332, allocations: 87.36 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4332, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003237/0.4335, allocations: 177.2 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4335, allocations: 4 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4335, allocations: 11.92 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4335, allocations: 4.062 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4337, allocations: 23.98 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4337, allocations: 4 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.4338, allocations: 7.938 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4338, allocations: 4 kB / 0.5669 GB, free: 14.19 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002654/0.434, allocations: 230.1 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.4341, allocations: 55.62 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.4345, allocations: 201.8 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4345, allocations: 0 / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4345, allocations: 4 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4345, allocations: 0 / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.4349, allocations: 328.4 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4349, allocations: 0 / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.4349, allocations: 8 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4349, allocations: 0 / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.435, allocations: 8 kB / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.435, allocations: 0 / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.435, allocations: 0 / 0.5677 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.4353, allocations: 229.4 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.4354, allocations: 67.53 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.4355, allocations: 4 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.4356, allocations: 4 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.4356, allocations: 15.97 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4356, allocations: 8 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008724/0.4365, allocations: 0.7839 MB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4365, allocations: 0 / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.4368, allocations: 44 kB / 0.5688 GB, free: 12.14 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002174/0.439, allocations: 1.066 MB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.4392, allocations: 75.91 kB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4393, allocations: 3.938 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4394, allocations: 43.91 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.4398, allocations: 75.55 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.4459, allocations: 4.579 MB / 0.5745 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.4465, allocations: 0.839 MB / 0.5754 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.4467, allocations: 66.94 kB / 0.5754 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.4469, allocations: 155.4 kB / 0.5756 GB, free: 5.246 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4469, allocations: 0 / 0.5756 GB, free: 5.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.48, allocations: 9.409 MB / 0.5848 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.33, allocations: 11.8 kB / 0.5848 GB, free: 11.92 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.676792331039906] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.552390765049495 12.570698799 12.139329886 Calling exit ...