Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.023 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 51.92 kB / 378.6 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2281, allocations: 53.36 MB / 432 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006405/0.2345, allocations: 4.523 MB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2371, allocations: 1.285 MB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2374, allocations: 15.88 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.2379, allocations: 154.7 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.2384, allocations: 202.2 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.2389, allocations: 223.6 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00084/0.2397, allocations: 0.763 MB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.2401, allocations: 191.1 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000428/0.2405, allocations: 302.9 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.2409, allocations: 330.5 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-05/0.241, allocations: 64 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2412, allocations: 68 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2413, allocations: 155.4 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.2416, allocations: 338.3 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.2424, allocations: 0.7589 MB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2424, allocations: 8 kB / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2424, allocations: 0 / 441.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2424, 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.001815/0.2443, allocations: 0.9576 MB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2443, allocations: 12.03 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.309e-05/0.2443, allocations: 13.5 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.2444, allocations: 102.7 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.2447, allocations: 92.45 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.2453, allocations: 360.4 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.2454, allocations: 41.69 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.2455, allocations: 55.94 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/0.2464, allocations: 0.5495 MB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2465, allocations: 0 / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.2465, allocations: 20 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2465, allocations: 12 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.2474, allocations: 429 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2504, allocations: 1.778 MB / 445.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.2512, allocations: 351.9 kB / 446 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2522, allocations: 421.1 kB / 446.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.2523, allocations: 8.312 kB / 446.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/0.2528, allocations: 302.2 kB / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/0.2528, allocations: 0 / 446.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003563/0.2564, allocations: 1.106 MB / 447.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.2565, allocations: 239.3 kB / 448.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.2571, allocations: 441.8 kB / 448.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2571, allocations: 33.7 kB / 448.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.2573, allocations: 320.8 kB / 448.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.2575, allocations: 146.8 kB / 449 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.2576, allocations: 86.19 kB / 449.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2578, allocations: 358.8 kB / 449.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.2581, allocations: 152.9 kB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.2586, allocations: 328.8 kB / 449.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.2594, allocations: 435.5 kB / 450.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2594, allocations: 0 / 450.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001785/0.2612, allocations: 0.7558 MB / 451.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2612, allocations: 10.59 kB / 451.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2612, allocations: 4 kB / 451.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.2619, allocations: 180.8 kB / 451.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2622, allocations: 87.83 kB / 451.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/0.2665, allocations: 2.696 MB / 454.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.267, allocations: 87.64 kB / 454.2 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.267, allocations: 19.98 kB / 454.2 MB, free: 40 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.0002854/0.2673, allocations: 177.7 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.2674, allocations: 55.67 kB / 454.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2675, allocations: 56.91 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2675, allocations: 8 kB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2675, allocations: 3.984 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2675, allocations: 0 / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.2698, allocations: 1.23 MB / 455.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2698, allocations: 4 kB / 455.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.27, allocations: 47.91 kB / 455.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.2706, allocations: 180.8 kB / 455.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2706, allocations: 8 kB / 455.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.2746, allocations: 2.672 MB / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2746, allocations: 3.984 kB / 458.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.2767, allocations: 0.9025 MB / 459.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2768, allocations: 55.59 kB / 459.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.2768, allocations: 8 kB / 459.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.2772, allocations: 47.97 kB / 459.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.2773, allocations: 35.92 kB / 459.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2773, allocations: 8 kB / 459.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003657/0.2777, allocations: 307.1 kB / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2777, allocations: 4 kB / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006432/0.2783, allocations: 187.6 kB / 460.2 MB, free: 9.863 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.002313/0.2806, allocations: 1.462 MB / 461.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2819, allocations: 0.5526 MB / 462.2 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2819, allocations: 3.938 kB / 462.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.2825, allocations: 387.1 kB / 462.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.2831, allocations: 77.94 kB / 462.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/0.2913, allocations: 4.889 MB / 467.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.2919, allocations: 0.8594 MB / 468.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.2921, allocations: 48.36 kB / 468.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.2923, allocations: 187.4 kB / 468.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2923, allocations: 0 / 468.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.3332, allocations: 12.63 MB / 481.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.19, allocations: 8 kB / 481.3 MB, free: 4.75 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.551508869975805] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.360264369985089 13.376396381 13.130526145 Calling exit ...