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.00171/0.00171, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.002264/0.002264, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.424/1.424, allocations: 230.4 MB / 254.7 MB, free: 15.14 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.001878/0.001878, allocations: 71.83 kB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 53.31 MB / 426.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005982/0.1094, allocations: 4.505 MB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1981/0.3075, allocations: 1.279 MB / 432.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.3078, allocations: 13.16 kB / 432.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.3082, allocations: 146.2 kB / 432.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.3085, allocations: 203.4 kB / 433.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.3089, allocations: 222 kB / 433.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000652/0.3096, allocations: 0.7593 MB / 434 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.3099, allocations: 201.6 kB / 434.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.3102, allocations: 296.3 kB / 434.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.3105, allocations: 330.9 kB / 434.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.3106, allocations: 64.88 kB / 434.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3107, allocations: 67.78 kB / 435 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.3108, allocations: 159 kB / 435.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.3111, allocations: 339.5 kB / 435.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.3118, allocations: 0.7531 MB / 436.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3118, allocations: 2.297 kB / 436.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3118, allocations: 0 / 436.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3118, allocations: 5.062 kB / 436.2 MB, free: 6.941 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.001644/0.3135, allocations: 0.9759 MB / 437.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3135, allocations: 13.09 kB / 437.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.3136, allocations: 103.2 kB / 437.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.3139, allocations: 94.66 kB / 437.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.3145, allocations: 423.8 kB / 437.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.3145, allocations: 40.8 kB / 437.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.3146, allocations: 63.72 kB / 437.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3156, allocations: 0.5502 MB / 438.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3156, allocations: 0 / 438.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.3157, allocations: 21.55 kB / 438.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3157, allocations: 13.41 kB / 438.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/0.3166, allocations: 419.5 kB / 438.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.3195, allocations: 1.824 MB / 440.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.3202, allocations: 0.4931 MB / 441.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.3212, allocations: 421.2 kB / 441.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.3212, allocations: 8.797 kB / 441.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.3217, allocations: 306.8 kB / 442 MB, free: 3.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.3217, allocations: 1.188 kB / 442 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003886/0.3256, allocations: 1.294 MB / 443.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3256, allocations: 241.2 kB / 443.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.3261, allocations: 438.2 kB / 443.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3261, allocations: 33.17 kB / 443.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3263, allocations: 321.8 kB / 444.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.3264, allocations: 153.4 kB / 444.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3265, allocations: 90.62 kB / 444.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.3266, allocations: 356.1 kB / 444.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3269, allocations: 151.2 kB / 445 MB, free: 1.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.3273, allocations: 322.7 kB / 445.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.3279, allocations: 454.3 kB / 445.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3279, allocations: 1.25 kB / 445.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001597/0.3295, allocations: 0.7746 MB / 446.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3295, allocations: 9.844 kB / 446.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3295, allocations: 4.375 kB / 446.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.3302, allocations: 211 kB / 446.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.3305, allocations: 85.62 kB / 446.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/0.3354, allocations: 3.124 MB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.3359, allocations: 84.91 kB / 450 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3359, allocations: 19.55 kB / 450.1 MB, free: 14.83 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.0002756/0.3362, allocations: 184.5 kB / 450.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.3363, allocations: 51.94 kB / 450.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.3364, allocations: 61.72 kB / 450.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3364, allocations: 5.328 kB / 450.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3364, allocations: 0 / 450.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3364, allocations: 3.125 kB / 450.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3388, allocations: 1.281 MB / 451.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3388, allocations: 0 / 451.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.339, allocations: 33.02 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005992/0.3396, allocations: 220.5 kB / 451.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3396, allocations: 7.578 kB / 451.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.344, allocations: 3.051 MB / 454.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.344, allocations: 0 / 454.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3459, allocations: 0.9326 MB / 455.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3461, allocations: 130.2 kB / 456 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.3461, allocations: 18.3 kB / 456 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.3465, allocations: 42.48 kB / 456.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.3466, allocations: 35.19 kB / 456.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.3466, allocations: 16.58 kB / 456.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.3469, allocations: 308.6 kB / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3469, allocations: 0 / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006589/0.3476, allocations: 186.2 kB / 456.6 MB, free: 10.96 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.002196/0.3498, allocations: 1.485 MB / 458.1 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3513, allocations: 0.6595 MB / 458.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3513, allocations: 1.156 kB / 458.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.3519, allocations: 404.6 kB / 459.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.3524, allocations: 84.84 kB / 459.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.3603, allocations: 4.932 MB / 464.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3608, allocations: 0.8705 MB / 465 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.361, allocations: 50.78 kB / 465.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.3613, allocations: 182.1 kB / 465.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3613, allocations: 0 / 465.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.4056, allocations: 12.58 MB / 477.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.31, allocations: 7.984 kB / 477.8 MB, free: 12.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.685886879917234] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.413649435155094 12.43683583 12.120537549 Calling exit ...