Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.00215/0.00215, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.00237/0.00237, allocations: 215.5 kB / 23.48 MB, free: 5.223 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.427/1.427, allocations: 230.2 MB / 256.8 MB, free: 8.559 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.2328/0.2328, allocations: 46.89 MB / 360 MB, free: 4.695 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.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",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.002286/0.002286, allocations: 91.84 kB / 0.4952 GB, free: 8.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 65.99 MB / 0.5596 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00304/0.3468, allocations: 1.737 MB / 0.5613 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3484, allocations: 1.053 MB / 0.5623 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3485, allocations: 4 kB / 0.5623 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3488, allocations: 43.77 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3491, allocations: 91.61 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3492, allocations: 79.66 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3494, allocations: 103.8 kB / 0.5626 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.07e-05/0.3495, allocations: 13.75 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.3496, allocations: 43.78 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.3497, allocations: 31.8 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3497, allocations: 4 kB / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.3498, allocations: 43.97 kB / 0.5628 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.3498, allocations: 23.92 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3499, allocations: 35.73 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3501, allocations: 131.4 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3501, allocations: 0 / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3501, allocations: 0 / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3501, allocations: 3.938 kB / 0.563 GB, free: 1.492 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.0005504/0.3507, allocations: 426.6 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3507, allocations: 16.03 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.3507, allocations: 30.75 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3508, allocations: 12.89 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.3511, allocations: 220.1 kB / 0.5636 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3511, allocations: 8.312 kB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3511, allocations: 4.359 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3512, allocations: 61.73 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3512, allocations: 4 kB / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.3513, allocations: 0 / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3513, allocations: 4 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.3513, allocations: 19.98 kB / 0.5637 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3517, allocations: 284.8 kB / 0.564 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3519, allocations: 62.61 kB / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.3519, allocations: 20.86 kB / 0.5641 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3519, allocations: 0 / 0.5641 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.3521, allocations: 63.39 kB / 0.5641 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3521, allocations: 0 / 0.5641 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.3526, allocations: 185.3 kB / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3526, allocations: 51.41 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.3529, allocations: 218.1 kB / 0.5646 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3529, allocations: 29.7 kB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3529, allocations: 100.1 kB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.353, allocations: 19.84 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.353, allocations: 25.72 kB / 0.5648 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3532, allocations: 330.8 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.3532, allocations: 16 kB / 0.5651 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3533, allocations: 41.64 kB / 0.5651 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3534, allocations: 61.7 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3534, allocations: 0 / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.3536, allocations: 109.5 kB / 0.5653 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3536, allocations: 4 kB / 0.5653 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3536, allocations: 0 / 0.5653 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3536, allocations: 7.984 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.3537, allocations: 12 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3537, allocations: 192 / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.3538, allocations: 8.406 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3538, allocations: 7.938 kB / 0.5653 GB, free: 14.83 MB / 414.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.0001154/0.3539, allocations: 140.7 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3539, allocations: 15.91 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.3541, allocations: 115.2 kB / 0.5656 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3541, allocations: 3.938 kB / 0.5656 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3541, allocations: 4 kB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3541, allocations: 0 / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.3546, allocations: 403.2 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3546, allocations: 4 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.3546, allocations: 8 kB / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3546, allocations: 0 / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3547, allocations: 0 / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3547, allocations: 3.938 kB / 0.566 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.3547, allocations: 11.92 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3549, allocations: 204.3 kB / 0.5662 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.355, allocations: 89.05 kB / 0.5663 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.355, allocations: 4 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.3551, allocations: 7.938 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.3551, allocations: 3.984 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3551, allocations: 4 kB / 0.5663 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3552, allocations: 164.8 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 4 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3555, allocations: 19.98 kB / 0.5665 GB, free: 13.54 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: 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.002057/0.3575, allocations: 1.092 MB / 0.5675 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3577, allocations: 59.84 kB / 0.5676 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3577, allocations: 4 kB / 0.5676 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.3578, allocations: 16 kB / 0.5676 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3581, allocations: 39.78 kB / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.36, allocations: 1.697 MB / 0.5693 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3603, allocations: 0.708 MB / 0.57 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.3604, allocations: 20.48 kB / 0.57 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.3605, allocations: 35.42 kB / 0.5701 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3605, allocations: 0 / 0.5701 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3858, allocations: 3.53 MB / 0.5735 GB, free: 6.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.57, allocations: 19.3 kB / 0.5735 GB, free: 6.363 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.522494016913697] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.694108246010728 8.718524988 8.363940079 Calling exit ...