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.001771/0.001771, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002282/0.002282, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001953/0.001953, allocations: 60.77 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2637, allocations: 53.38 MB / 432 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005944/0.2697, allocations: 4.514 MB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.2721, allocations: 1.285 MB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.2724, allocations: 19.88 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.2728, allocations: 150.7 kB / 437.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.2733, allocations: 210.2 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2737, allocations: 211.6 kB / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008423/0.2746, allocations: 0.7669 MB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.2749, allocations: 194.7 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.2754, allocations: 302.9 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.2758, allocations: 326.5 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.2759, allocations: 68 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.276, allocations: 68 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2762, allocations: 151.4 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.2765, allocations: 354.2 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008261/0.2773, allocations: 0.748 MB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2773, allocations: 0 / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2773, allocations: 4 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2773, 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.00176/0.2791, allocations: 0.9577 MB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2791, allocations: 12.03 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.2793, allocations: 94.7 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.2796, allocations: 100.4 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.2801, allocations: 360.3 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2802, allocations: 41.69 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.2802, allocations: 64.09 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2813, allocations: 0.5535 MB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2813, allocations: 0 / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.2813, allocations: 20 kB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2813, allocations: 16 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.2823, allocations: 421 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2853, allocations: 1.778 MB / 445.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.2861, allocations: 353.4 kB / 446 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.287, allocations: 421.2 kB / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.2871, allocations: 4.328 kB / 446.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.2876, allocations: 298.2 kB / 446.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.2876, allocations: 0 / 446.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003435/0.2911, allocations: 1.106 MB / 447.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.2912, allocations: 239.3 kB / 448.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.2918, allocations: 437.9 kB / 448.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.2918, allocations: 37.7 kB / 448.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.2921, allocations: 320.7 kB / 448.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.2922, allocations: 146.8 kB / 449 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2924, allocations: 90.19 kB / 449.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2926, allocations: 358.7 kB / 449.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.2929, allocations: 152.9 kB / 449.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.2934, allocations: 320.9 kB / 449.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.2942, allocations: 439.4 kB / 450.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2943, allocations: 4 kB / 450.3 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001818/0.2961, allocations: 0.7519 MB / 451.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2961, allocations: 4 kB / 451.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2961, allocations: 7.938 kB / 451.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.2968, allocations: 184.8 kB / 451.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.2971, allocations: 87.83 kB / 451.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.3015, allocations: 2.701 MB / 454.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.3021, allocations: 75.64 kB / 454.1 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.3021, allocations: 24 kB / 454.2 MB, free: 52 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.0003184/0.3024, allocations: 185.7 kB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.3025, allocations: 55.66 kB / 454.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3026, allocations: 60.91 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3026, allocations: 4 kB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3026, allocations: 0 / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3027, allocations: 3.984 kB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3049, allocations: 1.222 MB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3049, allocations: 0 / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.3051, allocations: 51.91 kB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005349/0.3057, allocations: 180.7 kB / 455.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3057, allocations: 11.98 kB / 455.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.3097, allocations: 2.669 MB / 458.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3097, allocations: 0 / 458.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3116, allocations: 0.9064 MB / 459.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.3118, allocations: 55.62 kB / 459.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.3118, allocations: 8.062 kB / 459.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.3122, allocations: 43.97 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.3123, allocations: 35.88 kB / 459.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3123, allocations: 11.98 kB / 459.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00039/0.3127, allocations: 307.1 kB / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3127, allocations: 4 kB / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006688/0.3134, allocations: 179.7 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.002334/0.3157, allocations: 1.47 MB / 461.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.317, allocations: 0.5565 MB / 462.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.317, allocations: 0 / 462.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.3177, allocations: 375.2 kB / 462.5 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.3182, allocations: 87.55 kB / 462.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/0.3266, allocations: 4.881 MB / 467.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.3272, allocations: 0.8672 MB / 468.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.3275, allocations: 48.45 kB / 468.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.3278, allocations: 183.4 kB / 468.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3278, allocations: 0 / 468.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.3762, allocations: 12.58 MB / 481.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.63, allocations: 7.938 kB / 481.2 MB, free: 4.797 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 & /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: 15.019151399843395] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.730531092733145 12.747310736 12.466598974 Calling exit ...