Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.00168/0.00168, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.002204/0.002204, allocations: 201.6 kB / 21.45 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.551/1.551, allocations: 230.5 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001971/0.001971, allocations: 75.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.0987, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.0027/0.1014, allocations: 1.515 MB / 428.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.1022, allocations: 482.8 kB / 429 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.1023, allocations: 0 / 429 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1023, allocations: 3.938 kB / 429 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.1024, allocations: 7.875 kB / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1027, allocations: 31.89 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.1028, allocations: 43.86 kB / 429.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.1029, allocations: 8 kB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.103, allocations: 27.86 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.103, allocations: 19.91 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.103, allocations: 4 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.865e-05/0.1031, allocations: 8 kB / 429.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1031, allocations: 3.938 kB / 429.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.1031, allocations: 23.86 kB / 429.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1033, allocations: 43.75 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1033, allocations: 0 / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1033, allocations: 4 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1033, allocations: 0 / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004431/0.1037, allocations: 351.3 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1037, allocations: 8.031 kB / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1038, allocations: 42.73 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1039, allocations: 8.938 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1042, allocations: 180.2 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.1042, allocations: 4.375 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1042, allocations: 12.36 kB / 429.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1045, allocations: 115.4 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1045, allocations: 0 / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1045, allocations: 0 / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1045, allocations: 0 / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.1046, allocations: 23.98 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1048, allocations: 165.5 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1049, allocations: 50.56 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.105, allocations: 20.92 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.105, allocations: 4 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.105, allocations: 42.5 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.105, allocations: 0 / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000243/0.1053, allocations: 77.59 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1053, allocations: 51.41 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.1054, allocations: 113.8 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1054, allocations: 25.7 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.1055, allocations: 84.52 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.1055, allocations: 4 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1055, allocations: 21.7 kB / 430.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1056, allocations: 314.8 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1056, allocations: 3.938 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.1057, allocations: 35.42 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.1057, allocations: 39.38 kB / 431 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1057, allocations: 3.938 kB / 431 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.551e-05/0.1058, allocations: 61.47 kB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1058, allocations: 7.984 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1058, allocations: 4 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1058, allocations: 0 / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.1059, allocations: 12.12 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1059, allocations: 0 / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.1059, allocations: 7.938 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1059, allocations: 4 kB / 431.1 MB, free: 464 kB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.166e-05/0.106, allocations: 109.8 kB / 431.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.1061, allocations: 69.55 kB / 431.3 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.1062, allocations: 7.906 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1062, allocations: 336 / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1062, allocations: 0 / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1062, allocations: 4 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1063, allocations: 165.6 kB / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1063, allocations: 0 / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.1064, allocations: 15.92 kB / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1064, allocations: 0 / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1064, allocations: 4 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1064, allocations: 4 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1064, allocations: 0 / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1065, allocations: 89.12 kB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1066, allocations: 89 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1066, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.1067, allocations: 7.922 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-06/0.1067, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1067, allocations: 4 kB / 431.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.877e-05/0.1067, allocations: 87.28 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1067, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.1069, allocations: 8.281 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004503/0.1074, allocations: 0.6241 MB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1075, allocations: 27.92 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1075, allocations: 0 / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1075, allocations: 256 / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1077, allocations: 31.92 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1088, allocations: 1.186 MB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1091, allocations: 0.6885 MB / 434.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.746e-05/0.1091, allocations: 7.984 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1092, allocations: 7.438 kB / 434.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1092, allocations: 0 / 434.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.133, allocations: 1.35 MB / 435.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.111, allocations: 9.828 kB / 435.7 MB, free: 11.74 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.887944320216775] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.177499203011394 8.374291779 8.086646756 Calling exit ...