Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.00179/0.00179, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002446/0.002446, allocations: 218.5 kB / 23 MB, free: 5.582 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.429/1.429, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2583/0.2583, allocations: 46.9 MB / 359.4 MB, free: 4.875 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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",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.002301/0.002301, allocations: 87.86 kB / 0.4942 GB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3471, allocations: 65.98 MB / 0.5586 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003667/0.3507, allocations: 1.842 MB / 0.5604 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3528, allocations: 1.11 MB / 0.5615 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.3529, allocations: 4 kB / 0.5615 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.3534, allocations: 319.2 kB / 0.5618 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.3539, allocations: 255.2 kB / 0.5621 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3541, allocations: 103.6 kB / 0.5622 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3544, allocations: 267.2 kB / 0.5624 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.3545, allocations: 9.688 kB / 0.5624 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3547, allocations: 131.6 kB / 0.5626 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.3549, allocations: 223.4 kB / 0.5628 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.355, allocations: 8 kB / 0.5628 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3551, allocations: 47.98 kB / 0.5628 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3552, allocations: 139.6 kB / 0.563 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3554, allocations: 154.7 kB / 0.5631 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.3558, allocations: 380.3 kB / 0.5635 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3558, allocations: 0 / 0.5635 GB, free: 284 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3558, allocations: 0 / 0.5635 GB, free: 284 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3558, allocations: 0 / 0.5635 GB, free: 284 kB / 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.0009826/0.3568, allocations: 0.7617 MB / 0.5642 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3568, allocations: 8.031 kB / 0.5642 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.3569, allocations: 30.75 kB / 0.5642 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.357, allocations: 60.61 kB / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.3576, allocations: 460.3 kB / 0.5647 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3576, allocations: 12.31 kB / 0.5648 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3576, allocations: 384 / 0.5648 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3578, allocations: 95.47 kB / 0.5648 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3578, allocations: 0 / 0.5648 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3578, allocations: 4 kB / 0.5649 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3579, allocations: 0 / 0.5649 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.358, allocations: 39.91 kB / 0.5649 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.3584, allocations: 378.3 kB / 0.5653 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3587, allocations: 97.17 kB / 0.5653 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.3588, allocations: 45.69 kB / 0.5654 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3588, allocations: 0 / 0.5654 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.359, allocations: 109 kB / 0.5655 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.359, allocations: 3.938 kB / 0.5655 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005056/0.3595, allocations: 193.3 kB / 0.5657 GB, free: 13.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.3596, allocations: 89.03 kB / 0.5658 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3609, allocations: 1.05 MB / 0.5668 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3609, allocations: 29.7 kB / 0.5668 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3611, allocations: 236.1 kB / 0.567 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3611, allocations: 35.67 kB / 0.5671 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.3612, allocations: 29.72 kB / 0.5671 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3614, allocations: 370.8 kB / 0.5675 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.3615, allocations: 31.98 kB / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3616, allocations: 59.17 kB / 0.5675 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.3618, allocations: 95.84 kB / 0.5676 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3618, allocations: 0 / 0.5676 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003124/0.3621, allocations: 173.2 kB / 0.5678 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3621, allocations: 8 kB / 0.5678 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3621, allocations: 0 / 0.5678 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3621, allocations: 0 / 0.5678 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3622, allocations: 27.92 kB / 0.5678 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3622, allocations: 0 / 0.5678 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.3623, allocations: 15.98 kB / 0.5679 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3623, allocations: 8 kB / 0.5679 GB, free: 11.48 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.0002355/0.3626, allocations: 222.7 kB / 0.5681 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3626, allocations: 63.55 kB / 0.5681 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.363, allocations: 193.7 kB / 0.5683 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3631, allocations: 7.938 kB / 0.5683 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3631, allocations: 0 / 0.5683 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3631, allocations: 0 / 0.5683 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.3634, allocations: 353.4 kB / 0.5687 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3634, allocations: 3.938 kB / 0.5687 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.3635, allocations: 15.92 kB / 0.5687 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.3635, allocations: 4 kB / 0.5687 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3635, allocations: 0 / 0.5687 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3635, allocations: 0 / 0.5687 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3635, allocations: 4 kB / 0.5687 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3639, allocations: 209.8 kB / 0.5689 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.364, allocations: 148.6 kB / 0.569 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.364, allocations: 11.98 kB / 0.569 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.3641, allocations: 4 kB / 0.569 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3642, allocations: 15.92 kB / 0.5691 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3642, allocations: 4 kB / 0.5691 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008765/0.3651, allocations: 0.7839 MB / 0.5698 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3651, allocations: 7.938 kB / 0.5698 GB, free: 9.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3653, allocations: 43.98 kB / 0.5699 GB, free: 9.305 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.002063/0.3674, allocations: 1.052 MB / 0.5709 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3677, allocations: 84.08 kB / 0.571 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3677, allocations: 4.062 kB / 0.571 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3678, allocations: 40.11 kB / 0.571 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3682, allocations: 82.22 kB / 0.5711 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.3745, allocations: 4.586 MB / 0.5756 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.375, allocations: 0.8508 MB / 0.5764 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3752, allocations: 58.94 kB / 0.5765 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3754, allocations: 151.4 kB / 0.5766 GB, free: 2.402 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3754, allocations: 0 / 0.5766 GB, free: 2.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4107, allocations: 9.191 MB / 0.5856 GB, free: 9.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.902/9.313, allocations: 4.062 kB / 0.5856 GB, free: 9.223 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.120863994001411] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.445679099007975 9.473421458 9.112514945 Calling exit ...