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.Subtracter.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.001731/0.001731, allocations: 119.2 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.002023/0.002023, allocations: 214.5 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.485/1.485, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Subtracter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",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.001884/0.001884, allocations: 71.83 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.0993, allocations: 53.33 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004737/0.104, allocations: 3.402 MB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1055, allocations: 0.8648 MB / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1056, allocations: 11.94 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1058, allocations: 71.34 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.106, allocations: 123 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1064, allocations: 143.8 kB / 431.7 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1986/0.3049, allocations: 0.4926 MB / 432.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.3052, allocations: 122.8 kB / 432.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.3057, allocations: 198 kB / 432.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3059, allocations: 198 kB / 432.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.306, allocations: 51.25 kB / 432.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3061, allocations: 51.22 kB / 432.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.3062, allocations: 100.6 kB / 432.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3064, allocations: 223.9 kB / 433.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.3069, allocations: 0.5648 MB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3069, allocations: 0.8125 kB / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3069, allocations: 0 / 433.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.307, allocations: 4.156 kB / 433.6 MB, free: 7.445 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001087/0.308, allocations: 0.7116 MB / 434.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3081, allocations: 11 kB / 434.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.952e-05/0.3082, allocations: 70.41 kB / 434.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.3084, allocations: 56.52 kB / 434.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.3088, allocations: 325.5 kB / 434.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3088, allocations: 26 kB / 434.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3089, allocations: 34.75 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.3096, allocations: 390.1 kB / 435.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3096, allocations: 3.75 kB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.3096, allocations: 17.88 kB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3096, allocations: 11.17 kB / 435.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.3103, allocations: 298 kB / 435.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.3124, allocations: 1.44 MB / 437 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.313, allocations: 224.1 kB / 437.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3132, allocations: 96.27 kB / 437.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3132, allocations: 2.219 kB / 437.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3133, allocations: 33.31 kB / 437.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3133, allocations: 0.6562 kB / 437.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002249/0.3155, allocations: 0.7551 MB / 438.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.3155, allocations: 60.97 kB / 438.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.3159, allocations: 321.5 kB / 438.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3159, allocations: 28.05 kB / 438.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.316, allocations: 234.1 kB / 438.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.3161, allocations: 59.62 kB / 438.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.3161, allocations: 47.64 kB / 438.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.3162, allocations: 338.6 kB / 439.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.3164, allocations: 83.05 kB / 439.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3167, allocations: 160.1 kB / 439.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.3171, allocations: 253.3 kB / 439.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3171, allocations: 1.094 kB / 439.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009933/0.3181, allocations: 425.5 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3181, allocations: 6.781 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3182, allocations: 2.125 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.3186, allocations: 121.7 kB / 440.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3188, allocations: 38.56 kB / 440.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.3222, allocations: 3.563 MB / 443.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3224, allocations: 40.67 kB / 443.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3224, allocations: 10.09 kB / 443.9 MB, free: 1.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.3226, allocations: 151.2 kB / 444 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.3226, allocations: 29.34 kB / 444 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.3227, allocations: 37.91 kB / 444.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3227, allocations: 4.875 kB / 444.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3227, allocations: 2.984 kB / 444.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3227, allocations: 7.844 kB / 444.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.323, allocations: 366.6 kB / 444.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.323, allocations: 5.578 kB / 444.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.3231, allocations: 13.06 kB / 444.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.3235, allocations: 114.9 kB / 444.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3235, allocations: 8.969 kB / 444.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003884/0.3274, allocations: 3.461 MB / 448 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3274, allocations: 1.094 kB / 448 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.3284, allocations: 434.9 kB / 448.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.3285, allocations: 108.9 kB / 448.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.3285, allocations: 9.906 kB / 448.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3287, allocations: 25.34 kB / 448.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3288, allocations: 17.31 kB / 448.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3288, allocations: 3.125 kB / 448.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.3291, allocations: 226.5 kB / 448.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3291, allocations: 0 / 448.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.3296, allocations: 98.66 kB / 448.9 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.331, allocations: 0.9685 MB / 449.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3322, allocations: 0.5056 MB / 450.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3322, allocations: 1.062 kB / 450.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.3326, allocations: 336.9 kB / 450.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3331, allocations: 56.62 kB / 450.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.3382, allocations: 3.259 MB / 454.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3387, allocations: 0.7773 MB / 454.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.3389, allocations: 28.31 kB / 454.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.339, allocations: 101.1 kB / 455 MB, free: 8.746 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.339, allocations: 0 / 455 MB, free: 8.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.3795, allocations: 7.222 MB / 462.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.37, allocations: 7.344 kB / 462.2 MB, free: 6.727 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.903590141329914] Failed to read output from testmodel.py, exit status != 0: ['time', 'vOut.v'] 12.471115421969444 12.492479386 12.181404787 Calling exit ...