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.Sample2.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.001726/0.001726, allocations: 120 kB / 18.5 MB, free: 4.52 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.00261/0.00261, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.565/1.565, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.002019/0.002019, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003335/0.1185, allocations: 1.57 MB / 428.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.1189, allocations: 139.5 kB / 428.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.119, allocations: 7.938 kB / 428.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.1191, allocations: 3.938 kB / 428.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1192, allocations: 7.938 kB / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1195, allocations: 47.83 kB / 428.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1196, allocations: 27.92 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1197, allocations: 11.98 kB / 428.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.1197, allocations: 15.92 kB / 428.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.1198, allocations: 19.86 kB / 428.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1198, allocations: 4 kB / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.1198, allocations: 0 / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1198, allocations: 15.94 kB / 428.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.1199, allocations: 23.86 kB / 428.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.12, allocations: 51.62 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.12, allocations: 0 / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.12, allocations: 4 kB / 429 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.12, allocations: 0 / 429 MB, free: 2.832 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005343/0.1206, allocations: 367.2 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1206, allocations: 8.031 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.1207, allocations: 34.75 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1207, allocations: 12.88 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.121, allocations: 196.2 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.121, allocations: 384 / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.121, allocations: 4.375 kB / 429.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1213, allocations: 121.5 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1213, allocations: 3.938 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1213, allocations: 0 / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1213, allocations: 4 kB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.1214, allocations: 15.98 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1218, allocations: 261.8 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.122, allocations: 138.2 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.1221, allocations: 29.77 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1221, allocations: 7.938 kB / 430.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1221, allocations: 30.56 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1221, allocations: 4 kB / 430.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002799/0.1224, allocations: 89.61 kB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/0.1225, allocations: 77.11 kB / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1227, allocations: 136.2 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1227, allocations: 25.7 kB / 430.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.1227, allocations: 88.12 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1228, allocations: 3.953 kB / 430.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1228, allocations: 25.83 kB / 430.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.123, allocations: 314.8 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.123, allocations: 8 kB / 430.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.1231, allocations: 31.42 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.1232, allocations: 47.36 kB / 431 MB, free: 496 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1232, allocations: 3.938 kB / 431 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.1233, allocations: 73.55 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1233, allocations: 4 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1233, allocations: 0 / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1233, allocations: 8.125 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.1234, allocations: 8 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1234, allocations: 0 / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1234, allocations: 15.94 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1235, allocations: 0 / 431.1 MB, free: 376 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 9.362e-05/0.1235, allocations: 117.8 kB / 431.2 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.1236, allocations: 49.62 kB / 431.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1237, allocations: 12.25 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1237, allocations: 0 / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1237, allocations: 4 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1237, allocations: 4 kB / 431.3 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1239, allocations: 177.5 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1239, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.1239, allocations: 11.98 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.124, allocations: 0 / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.124, allocations: 0 / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.124, allocations: 0 / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.124, allocations: 4 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1242, allocations: 172.2 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1242, allocations: 93.03 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1243, allocations: 4 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.1243, allocations: 3.938 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1243, allocations: 0 / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1243, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.1244, allocations: 103.2 kB / 431.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1244, allocations: 8 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1247, allocations: 4 kB / 431.9 MB, free: 15.5 MB / 366.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: 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.0005428/0.1252, allocations: 0.6959 MB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1253, allocations: 35.92 kB / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1253, allocations: 0 / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.1254, allocations: 11.92 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1257, allocations: 20.02 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1272, allocations: 1.327 MB / 433.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1275, allocations: 0.6923 MB / 434.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.1275, allocations: 4 kB / 434.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1276, allocations: 15.44 kB / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1276, allocations: 0 / 434.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1532, allocations: 1.496 MB / 436.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/8.754, allocations: 6.344 kB / 436.2 MB, free: 11.18 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.659332607872784] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.826083427295089 9.059453151 8.718155627 Calling exit ...