Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001263/0.001263, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001418/0.001418, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2325/0.2325, allocations: 44.94 MB / 359.6 MB, free: 6.148 MB / 286.1 MB " [Timeout remaining time 180] 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.002025/0.002025, allocations: 63.91 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4021, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003504/0.4056, allocations: 1.791 MB / 0.5595 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.4075, allocations: 1.042 MB / 0.5605 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.4076, allocations: 3.938 kB / 0.5605 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.4081, allocations: 307.3 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.4086, allocations: 263.2 kB / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4089, allocations: 111.7 kB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.4092, allocations: 267.2 kB / 0.5615 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/0.4093, allocations: 5.812 kB / 0.5615 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.4094, allocations: 127.5 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.4097, allocations: 227.4 kB / 0.5618 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.4097, allocations: 4 kB / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4099, allocations: 47.98 kB / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.41, allocations: 147.5 kB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.4102, allocations: 107.1 kB / 0.5621 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.4107, allocations: 384.2 kB / 0.5625 GB, free: 2.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4107, allocations: 4 kB / 0.5625 GB, free: 2.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4107, allocations: 0 / 0.5625 GB, free: 2.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.4107, allocations: 0 / 0.5625 GB, free: 2.695 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.001129/0.4118, allocations: 0.6902 MB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4119, allocations: 8.031 kB / 0.5631 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.042e-05/0.4119, allocations: 4.188 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.4119, allocations: 34.75 kB / 0.5632 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.412, allocations: 56.61 kB / 0.5632 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.4127, allocations: 390.5 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4127, allocations: 12.11 kB / 0.5636 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4128, allocations: 8 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.413, allocations: 95.3 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.413, allocations: 0 / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.413, allocations: 0 / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4131, allocations: 0 / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4132, allocations: 35.97 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.4137, allocations: 329.4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.414, allocations: 117.1 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4141, allocations: 33.7 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.4142, allocations: 4 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4144, allocations: 116.9 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4144, allocations: 0 / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005488/0.415, allocations: 205.2 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.415, allocations: 85.11 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4163, allocations: 1.062 MB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4164, allocations: 33.64 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4166, allocations: 240.1 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.4166, allocations: 23.81 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.4167, allocations: 29.7 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4169, allocations: 370.8 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/0.417, allocations: 31.98 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4171, allocations: 63.34 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.4173, allocations: 103.3 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4173, allocations: 0.5 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003318/0.4176, allocations: 177.2 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4176, allocations: 8 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4176, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4177, allocations: 0 / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4178, allocations: 23.98 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4178, allocations: 3.938 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4179, allocations: 11.94 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4179, allocations: 8.062 kB / 0.5667 GB, free: 14.07 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.0002564/0.4182, allocations: 229.7 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.4182, allocations: 51.62 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.4187, allocations: 209.8 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4187, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4187, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4187, allocations: 3.984 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.4191, allocations: 300.5 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4191, allocations: 0 / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.4191, allocations: 12 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4191, allocations: 0 / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4192, allocations: 4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4192, allocations: 0 / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4192, allocations: 3.938 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.4196, allocations: 229.4 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4197, allocations: 67.84 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.4197, allocations: 0 / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.4198, allocations: 19.92 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4199, allocations: 7.984 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.4199, allocations: 8 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009771/0.4209, allocations: 0.7917 MB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4209, allocations: 0 / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.4212, allocations: 47.98 kB / 0.5686 GB, free: 12.04 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.00243/0.4236, allocations: 1.093 MB / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.4239, allocations: 88.02 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4239, allocations: 0 / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.424, allocations: 48.3 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4245, allocations: 71.83 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/0.4306, allocations: 4.594 MB / 0.5744 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.4309, allocations: 241.8 kB / 0.5746 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.431, allocations: 58.94 kB / 0.5747 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.4312, allocations: 155.4 kB / 0.5748 GB, free: 5.719 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4312, allocations: 0 / 0.5748 GB, free: 5.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.4635, allocations: 9.678 MB / 0.5843 GB, free: 12.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.45, allocations: 7.031 kB / 0.5843 GB, free: 12.16 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.483495348948054] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.667605930007994 12.682811955 12.269033644 Calling exit ...