Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.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.001225/0.001225, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001321/0.001321, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.588/1.588, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",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.002033/0.002033, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1172, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00292/0.1202, allocations: 1.519 MB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.1212, allocations: 0.5025 MB / 429 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.1212, allocations: 0 / 429 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1212, allocations: 3.938 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1214, allocations: 23.8 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1216, allocations: 35.89 kB / 429.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1217, allocations: 67.78 kB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.1217, allocations: 4.172 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1219, allocations: 51.78 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.122, allocations: 23.91 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.122, allocations: 7.938 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.1221, allocations: 16 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.1221, allocations: 19.91 kB / 429.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1221, allocations: 27.86 kB / 429.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1223, allocations: 59.73 kB / 429.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1223, allocations: 0 / 429.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1223, allocations: 0 / 429.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1223, allocations: 0 / 429.4 MB, free: 2.441 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000684/0.123, allocations: 399 kB / 429.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.123, allocations: 8.031 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1231, allocations: 42.69 kB / 429.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.1234, allocations: 32.86 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1237, allocations: 184.2 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.1237, allocations: 384 / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1237, allocations: 4.375 kB / 430 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.124, allocations: 92.16 kB / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.124, allocations: 0 / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.124, allocations: 0 / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.124, allocations: 0 / 430.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.1243, allocations: 63.88 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1245, allocations: 187.5 kB / 430.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1248, allocations: 99.75 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.125, allocations: 46.61 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.125, allocations: 7.922 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.125, allocations: 46.48 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.125, allocations: 0 / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005546/0.1256, allocations: 141.5 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.1256, allocations: 106.8 kB / 430.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1258, allocations: 128 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1258, allocations: 25.7 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1258, allocations: 92.52 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1259, allocations: 11.91 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1259, allocations: 29.64 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1261, allocations: 322.8 kB / 431.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1262, allocations: 27.97 kB / 431.4 MB, free: 116 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1263, allocations: 46.55 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1267, allocations: 82.52 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1267, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003475/0.127, allocations: 117.5 kB / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.127, allocations: 7.938 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.127, allocations: 0 / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.127, allocations: 4.094 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1272, allocations: 23.91 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1272, allocations: 0 / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1273, allocations: 28 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1273, allocations: 0 / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.934e-05/0.1274, allocations: 109.8 kB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1274, allocations: 15.89 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.1275, allocations: 15.86 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1275, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1275, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1275, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1276, allocations: 177.6 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1276, allocations: 4 kB / 432 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1278, allocations: 19.98 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1278, allocations: 4 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1278, allocations: 3.984 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1278, allocations: 3.938 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1278, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1282, allocations: 146.7 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1282, allocations: 89 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1282, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1283, allocations: 11.98 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1284, allocations: 3.984 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1284, allocations: 4 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.876e-05/0.1285, allocations: 113.4 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1285, allocations: 0 / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1287, allocations: 8 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000688/0.1294, allocations: 0.6731 MB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1297, allocations: 71.86 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1297, allocations: 192 / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.1299, allocations: 47.91 kB / 433.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1301, allocations: 1.891 kB / 433.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1322, allocations: 1.469 MB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1326, allocations: 0.6885 MB / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.1326, allocations: 144 / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.1327, allocations: 23.42 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1327, allocations: 3.938 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1565, allocations: 1.76 MB / 437.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.144, allocations: 10.84 kB / 437.2 MB, free: 10.14 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.040190685074776] Failed to read output from testmodel.py, exit status != 0: ['time', 'sinc.y', 'expSine1.y', 'expSine2.y'] 8.212084414903075 8.417435133 8.292016955 Calling exit ...