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.001816/0.001816, allocations: 116.2 kB / 18.5 MB, free: 4.602 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.002262/0.002262, allocations: 205 kB / 21.45 MB, free: 1.652 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.511/1.511, 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.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.001922/0.001922, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1104, allocations: 53.33 MB / 427.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005875/0.1163, allocations: 4.493 MB / 431.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2061/0.3224, allocations: 1.278 MB / 432.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.3227, allocations: 15.47 kB / 432.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.3231, allocations: 146.7 kB / 433 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.3235, allocations: 210.6 kB / 433.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.324, allocations: 216.2 kB / 433.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.3246, allocations: 0.7615 MB / 434.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.3249, allocations: 200.1 kB / 434.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3252, allocations: 302.7 kB / 434.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3256, allocations: 327.7 kB / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.3257, allocations: 64.59 kB / 435 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3258, allocations: 74.61 kB / 435.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.3259, allocations: 154 kB / 435.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.3262, allocations: 343 kB / 435.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.3269, allocations: 0.7568 MB / 436.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3269, allocations: 0 / 436.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3269, allocations: 1.344 kB / 436.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3269, allocations: 0 / 436.4 MB, free: 6.918 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.00167/0.3286, allocations: 0.9758 MB / 437.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3287, allocations: 10.17 kB / 437.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.892e-05/0.3288, allocations: 97.92 kB / 437.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.3291, allocations: 102.7 kB / 437.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.3296, allocations: 426 kB / 438 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.3296, allocations: 41.91 kB / 438 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.3297, allocations: 59.59 kB / 438.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3307, allocations: 0.5514 MB / 438.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3307, allocations: 4 kB / 438.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.3308, allocations: 21.59 kB / 438.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3308, allocations: 12.91 kB / 438.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.3317, allocations: 414.5 kB / 439 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.3345, allocations: 1.832 MB / 440.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.3352, allocations: 0.4965 MB / 441.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3362, allocations: 418.7 kB / 441.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3362, allocations: 3.484 kB / 441.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.3367, allocations: 308.8 kB / 442.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 3.216e-06/0.3367, allocations: 0.9844 kB / 442.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004194/0.3409, allocations: 1.297 MB / 443.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.341, allocations: 242.5 kB / 443.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.3416, allocations: 444.4 kB / 444.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3416, allocations: 31.66 kB / 444.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.3418, allocations: 317.2 kB / 444.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.3419, allocations: 150.3 kB / 444.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.342, allocations: 90.95 kB / 444.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.3421, allocations: 357.9 kB / 445 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3424, allocations: 153.6 kB / 445.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.3428, allocations: 318.9 kB / 445.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.3435, allocations: 456.5 kB / 445.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3436, allocations: 1.875 kB / 445.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001802/0.3454, allocations: 0.7729 MB / 446.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3454, allocations: 8.125 kB / 446.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3454, allocations: 3.781 kB / 446.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.3461, allocations: 216 kB / 446.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3464, allocations: 76.81 kB / 447 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.3513, allocations: 3.133 MB / 450.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.3519, allocations: 79.84 kB / 450.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.3519, allocations: 25.05 kB / 450.2 MB, free: 14.86 MB / 366.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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002939/0.3522, allocations: 183 kB / 450.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.3523, allocations: 48.75 kB / 450.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3524, allocations: 58.08 kB / 450.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3524, allocations: 6.516 kB / 450.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3524, allocations: 0.875 kB / 450.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3524, allocations: 2.016 kB / 450.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.3548, allocations: 1.282 MB / 451.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3549, allocations: 0 / 451.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.355, allocations: 35.64 kB / 451.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006224/0.3556, allocations: 219 kB / 452 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3557, allocations: 8.156 kB / 452 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.3606, allocations: 3.052 MB / 455.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3606, allocations: 0 / 455.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.3628, allocations: 0.9288 MB / 456 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.363, allocations: 134.1 kB / 456.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.3631, allocations: 11.5 kB / 456.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3634, allocations: 42.83 kB / 456.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3635, allocations: 32 kB / 456.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3636, allocations: 21.55 kB / 456.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.364, allocations: 306.7 kB / 456.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.364, allocations: 4 kB / 456.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.3647, allocations: 187 kB / 456.7 MB, free: 10.97 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/0.3671, allocations: 1.484 MB / 458.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.3688, allocations: 0.6574 MB / 458.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3688, allocations: 0.875 kB / 458.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.3696, allocations: 407.4 kB / 459.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3702, allocations: 90.66 kB / 459.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/0.3784, allocations: 4.918 MB / 464.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.379, allocations: 0.8703 MB / 465.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.3792, allocations: 52.72 kB / 465.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3794, allocations: 184.9 kB / 465.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3794, allocations: 0 / 465.4 MB, free: 5.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/0.4229, allocations: 12.57 MB / 477.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 14.2 kB / 478 MB, free: 12.2 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.88667553383857] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.455258605070412 12.471815616 12.140562838 Calling exit ...