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.001489/0.001489, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001895/0.001895, allocations: 209.6 kB / 24.54 MB, free: 4.035 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001962/0.001962, allocations: 72.53 kB / 378.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2753, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002761/0.278, allocations: 1.527 MB / 433.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.279, allocations: 0.5026 MB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.2791, allocations: 0 / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.2791, allocations: 7.875 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2792, allocations: 23.86 kB / 434 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2794, allocations: 35.89 kB / 434 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2796, allocations: 75.64 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.2796, allocations: 4.188 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.2798, allocations: 43.84 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.2799, allocations: 35.84 kB / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2799, allocations: 4 kB / 434.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.28, allocations: 8 kB / 434.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.28, allocations: 15.97 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.28, allocations: 31.8 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2802, allocations: 63.25 kB / 434.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2802, allocations: 4 kB / 434.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2802, allocations: 0 / 434.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2802, allocations: 0 / 434.3 MB, free: 4.539 MB / 334.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.0006375/0.2808, allocations: 315.3 kB / 434.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2809, allocations: 12.03 kB / 434.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.2809, allocations: 38.73 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.2812, allocations: 32.86 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.2814, allocations: 122.5 kB / 434.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2814, allocations: 4.312 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2814, allocations: 384 / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2817, allocations: 92.16 kB / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2817, allocations: 4 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2817, allocations: 0 / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2817, allocations: 0 / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.282, allocations: 59.88 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.2822, allocations: 170.5 kB / 435.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.2824, allocations: 95.75 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.2825, allocations: 50.61 kB / 435.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2826, allocations: 7.922 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2826, allocations: 38.56 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.2826, allocations: 3.938 kB / 435.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005004/0.2831, allocations: 141.4 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.2832, allocations: 106.8 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2833, allocations: 132.5 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2833, allocations: 25.7 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.2834, allocations: 96.5 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2834, allocations: 11.91 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.2834, allocations: 21.7 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2836, allocations: 314.8 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2837, allocations: 35.91 kB / 436.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2838, allocations: 46.53 kB / 436.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.2841, allocations: 86.47 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2841, allocations: 3.984 kB / 436.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003016/0.2844, allocations: 109.5 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2844, allocations: 8 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2844, allocations: 3.984 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2844, allocations: 0 / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2846, allocations: 15.98 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2846, allocations: 7.938 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.2847, allocations: 12.08 kB / 436.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2847, allocations: 4 kB / 436.5 MB, free: 2.098 MB / 334.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 9.133e-05/0.2848, allocations: 117.8 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2848, allocations: 11.89 kB / 436.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.2848, allocations: 11.92 kB / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2848, allocations: 4 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2848, allocations: 0 / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2848, allocations: 0 / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.285, allocations: 152.7 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.285, allocations: 4 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2851, allocations: 19.97 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2851, allocations: 0 / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2851, allocations: 8 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2851, allocations: 0 / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2851, allocations: 0 / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.2854, allocations: 158.7 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.2854, allocations: 15.89 kB / 437 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.2855, allocations: 4 kB / 437 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.2856, allocations: 7.984 kB / 437 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.2856, allocations: 7.984 kB / 437 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2856, allocations: 8 kB / 437 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.2857, allocations: 99.27 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2857, allocations: 0 / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.2859, allocations: 8 kB / 437.1 MB, free: 1.391 MB / 334.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.0006142/0.2865, allocations: 0.6803 MB / 437.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.2868, allocations: 71.88 kB / 437.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2868, allocations: 8.125 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2869, allocations: 39.95 kB / 437.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.2871, allocations: 9.375 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2891, allocations: 1.461 MB / 439.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2894, allocations: 0.6846 MB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.2894, allocations: 0 / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2895, allocations: 23.42 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2895, allocations: 0 / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3137, allocations: 1.778 MB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.147, allocations: 4.016 kB / 441.8 MB, free: 12.56 MB / 350.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: 10.675607318989933] Failed to read output from testmodel.py, exit status != 0: ['time', 'sinc.y', 'expSine1.y', 'expSine2.y'] 8.214718985836953 8.229891344 7.946712727 Calling exit ...