Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001284/0.001284, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001394/0.001394, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",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.00194/0.00194, allocations: 72.75 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2813, allocations: 53.37 MB / 432 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006016/0.2873, allocations: 4.517 MB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2897, allocations: 1.293 MB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.29, allocations: 15.94 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.2904, allocations: 146.6 kB / 437.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.2908, allocations: 206.3 kB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.2912, allocations: 219.5 kB / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009072/0.2921, allocations: 0.7631 MB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.2925, allocations: 192.1 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.293, allocations: 310.9 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.2934, allocations: 326.5 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.2935, allocations: 64 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.2936, allocations: 71.98 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2938, allocations: 143.5 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.2941, allocations: 346.3 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.2949, allocations: 0.7582 MB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2949, allocations: 0 / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2949, allocations: 4 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2949, allocations: 0 / 441.3 MB, free: 13.48 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001743/0.2967, allocations: 0.96 MB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2967, allocations: 12.03 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.2968, allocations: 98.7 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.2971, allocations: 96.44 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.2976, allocations: 364.3 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.2977, allocations: 41.69 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.2978, allocations: 56.12 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.2988, allocations: 0.5496 MB / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2988, allocations: 0 / 443.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.2988, allocations: 20 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2988, allocations: 16 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.2997, allocations: 421 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.3026, allocations: 1.778 MB / 445.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.3034, allocations: 346 kB / 446 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009903/0.3044, allocations: 425.1 kB / 446.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3044, allocations: 4.328 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.305, allocations: 298.2 kB / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.523e-06/0.305, allocations: 0 / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003315/0.3083, allocations: 1.11 MB / 447.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.3084, allocations: 239.3 kB / 448.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.3089, allocations: 437.9 kB / 448.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.309, allocations: 37.7 kB / 448.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.3092, allocations: 316.8 kB / 448.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3093, allocations: 142.8 kB / 449 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3095, allocations: 94.19 kB / 449.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3096, allocations: 362.7 kB / 449.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.31, allocations: 152.9 kB / 449.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.3105, allocations: 320.9 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.3112, allocations: 443.4 kB / 450.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3112, allocations: 4 kB / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001655/0.3129, allocations: 0.7442 MB / 451.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3129, allocations: 4 kB / 451.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3129, allocations: 7.938 kB / 451.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.3135, allocations: 195.4 kB / 451.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.3138, allocations: 79.89 kB / 451.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.3182, allocations: 2.705 MB / 454.1 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.3187, allocations: 79.64 kB / 454.1 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3187, allocations: 20 kB / 454.2 MB, free: 64 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.319, allocations: 185.8 kB / 454.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.3191, allocations: 55.61 kB / 454.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.3192, allocations: 60.91 kB / 454.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3192, allocations: 4 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3192, allocations: 0 / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3192, allocations: 3.984 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.3214, allocations: 1.222 MB / 455.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3214, allocations: 0 / 455.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3216, allocations: 47.97 kB / 455.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.3221, allocations: 180.7 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3221, allocations: 11.98 kB / 455.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.3261, allocations: 2.677 MB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3261, allocations: 0 / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.328, allocations: 0.9064 MB / 459.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3281, allocations: 59.69 kB / 459.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3281, allocations: 8 kB / 459.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.3285, allocations: 39.91 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.3286, allocations: 39.88 kB / 459.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3286, allocations: 11.98 kB / 459.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.329, allocations: 311.1 kB / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.329, allocations: 0 / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.3296, allocations: 183.6 kB / 460.1 MB, free: 9.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/0.3319, allocations: 1.466 MB / 461.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3331, allocations: 0.5571 MB / 462.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3331, allocations: 0 / 462.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.3338, allocations: 374.6 kB / 462.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.3343, allocations: 85.92 kB / 462.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.3423, allocations: 4.869 MB / 467.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.3429, allocations: 0.8749 MB / 468.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.3431, allocations: 52.53 kB / 468.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.3433, allocations: 191.4 kB / 468.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3433, allocations: 0 / 468.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.3946, allocations: 12.56 MB / 481.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.68, allocations: 10.64 kB / 481.2 MB, free: 4.809 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.108983599115163] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.783803240396082 12.801459127 12.503207954 Calling exit ...