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.001273/0.001273, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001395/0.001395, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001555/0.001555, allocations: 43.92 kB / 378.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 53.37 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005657/0.2719, allocations: 4.048 MB / 436 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2741, allocations: 1.219 MB / 437.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.2744, allocations: 19.88 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.2748, allocations: 138.8 kB / 437.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.2752, allocations: 202.2 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2756, allocations: 223.6 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.2764, allocations: 0.763 MB / 438.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.2768, allocations: 196.2 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.2772, allocations: 302.9 kB / 439 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.2776, allocations: 326.5 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.2777, allocations: 68 kB / 439.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2779, allocations: 64 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.278, allocations: 155.4 kB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.2783, allocations: 286.6 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008702/0.2792, allocations: 0.7621 MB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2792, allocations: 4 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2792, allocations: 0 / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.2792, allocations: 0 / 440.6 MB, free: 13.89 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.001856/0.2811, allocations: 0.9499 MB / 441.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2811, allocations: 12.03 kB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.593e-05/0.2812, allocations: 13.5 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.2813, allocations: 102.7 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.2816, allocations: 92.45 kB / 441.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.2821, allocations: 364.3 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.2822, allocations: 45.69 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.2823, allocations: 55.94 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.2834, allocations: 0.7253 MB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2834, allocations: 3.938 kB / 443 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.2835, allocations: 28 kB / 443 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2835, allocations: 15.94 kB / 443 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.2844, allocations: 417 kB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.2873, allocations: 1.642 MB / 445.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.2881, allocations: 351.1 kB / 445.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.2891, allocations: 417.1 kB / 445.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.2892, allocations: 4.328 kB / 445.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.2898, allocations: 482.1 kB / 446.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.2898, allocations: 4 kB / 446.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00362/0.2935, allocations: 1.098 MB / 447.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.2936, allocations: 243.3 kB / 447.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.2942, allocations: 441.8 kB / 448.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.2943, allocations: 33.7 kB / 448.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.2945, allocations: 320.8 kB / 448.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.2947, allocations: 150.8 kB / 448.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2948, allocations: 90.19 kB / 448.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.295, allocations: 362.7 kB / 449 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.2954, allocations: 144.9 kB / 449.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.2961, allocations: 0.493 MB / 449.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.2969, allocations: 443.4 kB / 450.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2969, allocations: 0 / 450.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001932/0.2988, allocations: 0.748 MB / 450.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2989, allocations: 11.94 kB / 450.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2989, allocations: 4 kB / 450.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.2995, allocations: 187.6 kB / 451 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2999, allocations: 79.89 kB / 451.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.3043, allocations: 2.67 MB / 453.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.3049, allocations: 79.75 kB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.3049, allocations: 20 kB / 453.9 MB, free: 15.97 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.0002957/0.3052, allocations: 181.7 kB / 454 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.3053, allocations: 51.67 kB / 454.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3054, allocations: 60.84 kB / 454.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3054, allocations: 4 kB / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3054, allocations: 0 / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3054, allocations: 0 / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.3077, allocations: 1.167 MB / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3077, allocations: 0 / 455.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.308, allocations: 47.91 kB / 455.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005498/0.3085, allocations: 187.6 kB / 455.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3085, allocations: 12 kB / 455.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/0.3126, allocations: 2.646 MB / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3126, allocations: 0 / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3145, allocations: 0.9064 MB / 459.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3146, allocations: 55.62 kB / 459.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3146, allocations: 12.09 kB / 459.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.315, allocations: 39.91 kB / 459.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.3151, allocations: 35.92 kB / 459.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.3151, allocations: 20.05 kB / 459.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.3154, allocations: 303.1 kB / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3154, allocations: 0 / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.3161, allocations: 183.7 kB / 459.8 MB, free: 9.891 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.002152/0.3182, allocations: 1.466 MB / 461.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3194, allocations: 0.5526 MB / 461.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3194, allocations: 0 / 461.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3201, allocations: 383.2 kB / 462.2 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.3206, allocations: 77.94 kB / 462.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.3284, allocations: 4.897 MB / 467.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3287, allocations: 259.6 kB / 467.4 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.3289, allocations: 52.45 kB / 467.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3291, allocations: 187.4 kB / 467.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3291, allocations: 0 / 467.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0423/0.3714, allocations: 12.52 MB / 480.1 MB, free: 5.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.58, allocations: 9.734 kB / 480.1 MB, free: 5.566 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.060044071055017] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.770839854958467 13.795303607 13.511441095 Calling exit ...