Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001823/0.001823, 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.001391/0.001391, 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.00196/0.00196, allocations: 64.78 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004657/0.2775, allocations: 3.283 MB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.2794, allocations: 1.017 MB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2796, allocations: 11.94 kB / 436.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2798, allocations: 59.42 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.2802, allocations: 130.9 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.2805, allocations: 155.6 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.281, allocations: 493.9 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2812, allocations: 99.62 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2815, allocations: 195.3 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.2818, allocations: 207.1 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.2819, allocations: 40 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.282, allocations: 79.97 kB / 437.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.2821, allocations: 91.67 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.2823, allocations: 219 kB / 438 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.283, allocations: 0.5026 MB / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.283, allocations: 0 / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.283, allocations: 0 / 438.5 MB, free: 320 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.283, allocations: 4 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001401/0.2844, allocations: 0.6763 MB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2844, allocations: 8.031 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/0.2845, allocations: 70.72 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.2847, allocations: 52.66 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.2851, allocations: 253.3 kB / 439.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.2852, allocations: 25.03 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.2852, allocations: 36.38 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.2859, allocations: 349.2 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2859, allocations: 7.938 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2859, allocations: 12 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2859, allocations: 8 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.2865, allocations: 242.4 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.2885, allocations: 1.14 MB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.2891, allocations: 255.5 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2896, allocations: 201.2 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.29, allocations: 72.16 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.29, allocations: 46.78 kB / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.472e-06/0.29, allocations: 0 / 441.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001341/0.2913, allocations: 464.6 kB / 442.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.2914, allocations: 77.11 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2918, allocations: 341.6 kB / 442.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.2918, allocations: 33.7 kB / 442.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.292, allocations: 220.5 kB / 443 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.2921, allocations: 103.1 kB / 443.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2922, allocations: 70.02 kB / 443.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2924, allocations: 350.7 kB / 443.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2926, allocations: 108.6 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.2929, allocations: 185.8 kB / 443.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.2934, allocations: 292 kB / 444.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2934, allocations: 0 / 444.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008308/0.2943, allocations: 425.4 kB / 444.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2943, allocations: 4 kB / 444.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2943, allocations: 8.188 kB / 444.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.2946, allocations: 72.75 kB / 444.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.2949, allocations: 79.89 kB / 444.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.2969, allocations: 1.844 MB / 446.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.2971, allocations: 39.8 kB / 446.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.2972, allocations: 19.98 kB / 446.6 MB, free: 7.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.2974, allocations: 153.7 kB / 446.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.2974, allocations: 39.77 kB / 446.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.2982, allocations: 330.3 kB / 447.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2982, allocations: 4 kB / 447.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2982, allocations: 3.938 kB / 447.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2982, allocations: 0 / 447.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.2987, allocations: 372.3 kB / 447.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2987, allocations: 0 / 447.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.299, allocations: 59.95 kB / 447.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.2992, allocations: 60.83 kB / 447.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2992, allocations: 7.984 kB / 447.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/0.2997, allocations: 0.6149 MB / 448.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2997, allocations: 0 / 448.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009828/0.3007, allocations: 0.522 MB / 448.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3008, allocations: 35.7 kB / 448.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.3008, allocations: 8 kB / 448.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.3011, allocations: 23.97 kB / 448.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3011, allocations: 15.97 kB / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3011, allocations: 12 kB / 448.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.3014, allocations: 239.2 kB / 449 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3014, allocations: 0 / 449 MB, free: 5.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.3019, allocations: 111.8 kB / 449.2 MB, free: 5.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.3032, allocations: 1.085 MB / 450.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.3041, allocations: 402.4 kB / 450.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3041, allocations: 0 / 450.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.3044, allocations: 135.8 kB / 450.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3048, allocations: 49.39 kB / 450.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.3101, allocations: 3.763 MB / 454.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.3105, allocations: 0.7951 MB / 455.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.3106, allocations: 34.97 kB / 455.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3108, allocations: 127.4 kB / 455.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3108, allocations: 0 / 455.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.348, allocations: 8.034 MB / 463.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.89, allocations: 7.984 kB / 463.6 MB, free: 6.648 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.246094773057848] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.991302873939276 13.007138165 12.720908254 Calling exit ...