Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001937/0.001937, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002201/0.002201, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2314/0.2314, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",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.002451/0.002451, allocations: 80.2 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3683, allocations: 66.08 MB / 0.5616 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003847/0.3721, allocations: 1.838 MB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3742, allocations: 1.115 MB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.3743, allocations: 7.938 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.3749, allocations: 315.2 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.3755, allocations: 255.2 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3757, allocations: 107.6 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.3761, allocations: 271.2 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.3762, allocations: 5.812 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.3764, allocations: 139.5 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.3767, allocations: 215.5 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3767, allocations: 8 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3768, allocations: 55.98 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.377, allocations: 139.6 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3772, allocations: 150.8 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.3777, allocations: 380.4 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3777, allocations: 0 / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3777, allocations: 0 / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3777, allocations: 4 kB / 0.5664 GB, free: 15.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001155/0.3788, allocations: 0.6824 MB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.3789, allocations: 8.031 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.379, allocations: 42.69 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.3791, allocations: 52.59 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.3798, allocations: 398.5 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3798, allocations: 384 / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3799, allocations: 12.34 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3801, allocations: 91.44 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3801, allocations: 0 / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3801, allocations: 8 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3801, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3802, allocations: 31.97 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3807, allocations: 353.4 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.381, allocations: 101.2 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.3811, allocations: 41.69 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3811, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.3814, allocations: 113 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/0.3814, allocations: 4 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005292/0.3819, allocations: 205.2 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.382, allocations: 77.11 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.3833, allocations: 1.054 MB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.3833, allocations: 29.7 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3836, allocations: 236.1 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.3836, allocations: 27.8 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.3837, allocations: 33.72 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3839, allocations: 370.8 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.384, allocations: 31.86 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3841, allocations: 55.36 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3843, allocations: 95.91 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3843, allocations: 0 / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.3846, allocations: 177.1 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3846, allocations: 8 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.3846, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3846, allocations: 0 / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3847, allocations: 27.92 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3847, allocations: 4.047 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.3848, allocations: 19.86 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3849, allocations: 4 kB / 0.5706 GB, free: 10.82 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.0002472/0.3851, allocations: 223.5 kB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.3852, allocations: 59.56 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.3856, allocations: 197.8 kB / 0.5711 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3856, allocations: 4 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3856, allocations: 0 / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3856, allocations: 4 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.3859, allocations: 316.5 kB / 0.5714 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.386, allocations: 3.938 kB / 0.5714 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.386, allocations: 11.98 kB / 0.5714 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.386, allocations: 4 kB / 0.5714 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.386, allocations: 4.25 kB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.386, allocations: 8 kB / 0.5714 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.386, allocations: 3.938 kB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.3864, allocations: 221.5 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3865, allocations: 67.55 kB / 0.5717 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.3866, allocations: 3.984 kB / 0.5717 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.3867, allocations: 8 kB / 0.5717 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3867, allocations: 7.984 kB / 0.5717 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3867, allocations: 4 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009353/0.3877, allocations: 0.7878 MB / 0.5725 GB, free: 8.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 4 kB / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3879, allocations: 43.98 kB / 0.5726 GB, free: 8.773 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.002156/0.3901, allocations: 1.058 MB / 0.5736 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3904, allocations: 79.91 kB / 0.5737 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3904, allocations: 0 / 0.5737 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3905, allocations: 43.91 kB / 0.5737 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3909, allocations: 65.36 kB / 0.5738 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.3971, allocations: 4.571 MB / 0.5782 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3976, allocations: 0.8507 MB / 0.5791 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.3978, allocations: 58.94 kB / 0.5791 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.398, allocations: 151.4 kB / 0.5793 GB, free: 1.879 MB / 414.1 MB Notification: Performance of SimCode: time 9.61e-07/0.398, allocations: 4 kB / 0.5793 GB, free: 1.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.4345, allocations: 9.3 MB / 0.5884 GB, free: 8.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/9.038, allocations: 0 / 0.5884 GB, free: 8.586 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.007750981952995] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.183808934874833 9.208545445 8.826196479 Calling exit ...