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.001722/0.001722, allocations: 109.1 kB / 20.22 MB, free: 1.812 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.001903/0.001903, allocations: 217 kB / 23.48 MB, free: 5.254 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.454/1.454, allocations: 230.4 MB / 257 MB, free: 8.273 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.001853/0.001853, allocations: 71.89 kB / 377.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 53.31 MB / 430.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006067/0.2568, allocations: 4.529 MB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.2599, allocations: 1.285 MB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.2605, allocations: 12 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.2611, allocations: 150.6 kB / 436.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.2618, allocations: 210.3 kB / 436.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.2625, allocations: 215.5 kB / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2638, allocations: 0.763 MB / 437.6 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.2643, allocations: 194.6 kB / 437.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.2649, allocations: 298.9 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.2655, allocations: 330.5 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.2657, allocations: 68 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.2659, allocations: 64 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.266, allocations: 147.5 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.2664, allocations: 342.3 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009114/0.2673, allocations: 0.7628 MB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2673, allocations: 3.938 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2673, allocations: 0 / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.2673, allocations: 4 kB / 439.8 MB, free: 13.88 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.001815/0.2691, allocations: 1.025 MB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2692, allocations: 12.03 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.2693, allocations: 94.7 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.2696, allocations: 100.4 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.2701, allocations: 422.2 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2702, allocations: 45.62 kB / 441.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.748e-05/0.2703, allocations: 56.12 kB / 441.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2713, allocations: 0.5496 MB / 442 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2713, allocations: 3.984 kB / 442.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.2713, allocations: 20 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2714, allocations: 12 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.2722, allocations: 425 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2752, allocations: 1.821 MB / 444.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.276, allocations: 0.4981 MB / 444.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009837/0.277, allocations: 417.1 kB / 445.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.277, allocations: 8.266 kB / 445.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.2776, allocations: 298.2 kB / 445.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.2776, allocations: 4 kB / 445.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003378/0.2809, allocations: 1.185 MB / 446.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.2811, allocations: 239.3 kB / 446.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.2817, allocations: 437.9 kB / 447.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.2817, allocations: 33.7 kB / 447.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.282, allocations: 316.8 kB / 447.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2821, allocations: 150.7 kB / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2822, allocations: 90.25 kB / 448 MB, free: 5.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2824, allocations: 362.7 kB / 448.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.2828, allocations: 153 kB / 448.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.2833, allocations: 321.5 kB / 448.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/0.2841, allocations: 447.4 kB / 449.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2841, allocations: 0 / 449.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001707/0.2858, allocations: 0.7483 MB / 450 MB, free: 3.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2858, allocations: 8 kB / 450 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.2858, allocations: 7.938 kB / 450 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.2864, allocations: 183.6 kB / 450.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.2868, allocations: 87.83 kB / 450.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.2912, allocations: 2.801 MB / 453 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.2917, allocations: 87.53 kB / 453.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.2918, allocations: 16.06 kB / 453.1 MB, free: 15.82 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 (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.0002951/0.2921, allocations: 178.3 kB / 453.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.2922, allocations: 51.72 kB / 453.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2923, allocations: 64.89 kB / 453.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2923, allocations: 4 kB / 453.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2923, allocations: 0 / 453.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2923, allocations: 3.938 kB / 453.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.2947, allocations: 1.258 MB / 454.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2947, allocations: 0 / 454.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.2949, allocations: 43.97 kB / 454.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/0.2955, allocations: 184.7 kB / 454.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.2955, allocations: 8 kB / 454.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.2996, allocations: 2.782 MB / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2996, allocations: 0 / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.3015, allocations: 0.9064 MB / 458.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3017, allocations: 132.7 kB / 458.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.3018, allocations: 8 kB / 458.7 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.3021, allocations: 39.97 kB / 458.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.3022, allocations: 39.95 kB / 458.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3022, allocations: 8 kB / 458.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004032/0.3026, allocations: 307.1 kB / 459.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3026, allocations: 0 / 459.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007014/0.3033, allocations: 183.7 kB / 459.3 MB, free: 9.402 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.002266/0.3056, allocations: 1.462 MB / 460.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3069, allocations: 0.5766 MB / 461.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3069, allocations: 4.125 kB / 461.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.3076, allocations: 366.5 kB / 461.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.3081, allocations: 84.75 kB / 461.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.3165, allocations: 4.891 MB / 466.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.317, allocations: 0.8712 MB / 467.6 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.3172, allocations: 56.53 kB / 467.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.3175, allocations: 183.4 kB / 467.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3175, allocations: 0 / 467.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.3645, allocations: 12.27 MB / 480.1 MB, free: 4.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.49, allocations: 19.98 kB / 480.1 MB, free: 4.566 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: 14.792642635991797] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.5873224188108 12.603849937 12.333489842 Calling exit ...