Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001157/0.001157, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001553/0.001553, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.595/1.595, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2734/0.2734, allocations: 44.92 MB / 359.6 MB, free: 6.324 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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001845/0.001845, allocations: 68.19 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4218, allocations: 65.47 MB / 0.5579 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003648/0.4254, allocations: 1.735 MB / 0.5596 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.4273, allocations: 1.049 MB / 0.5606 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.4274, allocations: 7.875 kB / 0.5606 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.4277, allocations: 47.83 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.428, allocations: 99.53 kB / 0.5607 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4282, allocations: 83.66 kB / 0.5608 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.4284, allocations: 99.77 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.4285, allocations: 9.812 kB / 0.5609 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4286, allocations: 47.72 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.4287, allocations: 43.78 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.4287, allocations: 4 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.4288, allocations: 39.98 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.4288, allocations: 23.91 kB / 0.5611 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.4289, allocations: 43.62 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.4291, allocations: 131.4 kB / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4291, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4291, allocations: 0 / 0.5612 GB, free: 4.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.4291, allocations: 0 / 0.5612 GB, free: 4.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005873/0.4297, allocations: 369.3 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4298, allocations: 12.03 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.873e-05/0.4298, allocations: 192 / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.4298, allocations: 30.75 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.4299, allocations: 12.89 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4302, allocations: 163.1 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4302, allocations: 16.06 kB / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.4302, allocations: 0 / 0.5618 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4304, allocations: 57.67 kB / 0.5619 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4304, allocations: 0 / 0.5619 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4304, allocations: 3.938 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-06/0.4304, allocations: 4 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.4305, allocations: 15.98 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.4309, allocations: 263.9 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.431, allocations: 58.67 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.4311, allocations: 28.77 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4311, allocations: 0 / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.4313, allocations: 67.39 kB / 0.5623 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.4313, allocations: 0 / 0.5623 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.4318, allocations: 181.3 kB / 0.5625 GB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4319, allocations: 63.39 kB / 0.5625 GB, free: 2.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.4321, allocations: 242.9 kB / 0.5627 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4322, allocations: 25.7 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.4323, allocations: 112.1 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.4323, allocations: 23.8 kB / 0.5629 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.4323, allocations: 25.7 kB / 0.5629 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4325, allocations: 322.8 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.4325, allocations: 23.98 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.4326, allocations: 37.72 kB / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.4327, allocations: 61.7 kB / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4327, allocations: 0 / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.4329, allocations: 113.7 kB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4329, allocations: 4 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.4329, allocations: 3.938 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.433, allocations: 0 / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.433, allocations: 20.03 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.433, allocations: 3.938 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.4331, allocations: 7.984 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.4331, allocations: 4 kB / 0.5635 GB, free: 1.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001149/0.4332, allocations: 125.8 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.4332, allocations: 16.28 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.4335, allocations: 119 kB / 0.5638 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4335, allocations: 3.938 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4335, allocations: 7.938 kB / 0.5638 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4335, allocations: 4 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.434, allocations: 370.4 kB / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.434, allocations: 0 / 0.5641 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.434, allocations: 11.98 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.434, allocations: 3.938 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.434, allocations: 0 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.434, allocations: 4 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.434, allocations: 4.031 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.4343, allocations: 204.2 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.4343, allocations: 15.84 kB / 0.5644 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4343, allocations: 7.984 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.4344, allocations: 0 / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.4344, allocations: 11.98 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4344, allocations: 8 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4346, allocations: 167.2 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4346, allocations: 0 / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.4349, allocations: 27.92 kB / 0.5646 GB, free: 0.5938 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.002168/0.437, allocations: 1.103 MB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.4372, allocations: 55.91 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4372, allocations: 0 / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.4373, allocations: 28.05 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4376, allocations: 38.94 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.4398, allocations: 1.75 MB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4402, allocations: 0.7158 MB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.4402, allocations: 21.27 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.4403, allocations: 39.42 kB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4403, allocations: 0 / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.4639, allocations: 3.824 MB / 0.572 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.64, allocations: 14.73 kB / 0.572 GB, free: 9.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.923029119032435] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.85350860498147 11.871534539 11.439278614000001 Calling exit ...