Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 188.3 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 371.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2386, allocations: 52.18 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005797/0.2444, allocations: 4.027 MB / 427.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2464, allocations: 1.149 MB / 428.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002173/0.2466, allocations: 15.94 kB / 428.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.2471, allocations: 142.7 kB / 428.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.2475, allocations: 198.3 kB / 428.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.2479, allocations: 211.6 kB / 429.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.2488, allocations: 0.7513 MB / 429.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.2491, allocations: 195.1 kB / 430.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.2495, allocations: 298.9 kB / 430.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.25, allocations: 322.5 kB / 430.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.2501, allocations: 64 kB / 430.7 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.2502, allocations: 68 kB / 430.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2504, allocations: 147.4 kB / 430.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.2507, allocations: 286.7 kB / 431.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.2515, allocations: 0.7468 MB / 432 MB, free: 5.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2515, allocations: 4 kB / 432 MB, free: 5.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2515, allocations: 0 / 432 MB, free: 5.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2515, allocations: 4 kB / 432 MB, free: 5.734 MB / 334.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.001762/0.2533, allocations: 0.946 MB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2533, allocations: 8.031 kB / 432.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.937e-05/0.2533, allocations: 17.5 kB / 432.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2534, allocations: 94.7 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2536, allocations: 80.47 kB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.2541, allocations: 348.4 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.2542, allocations: 37.69 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.2542, allocations: 59.89 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2554, allocations: 0.7291 MB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2554, allocations: 4 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.2555, allocations: 31.98 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2555, allocations: 12 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.2564, allocations: 417 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.2593, allocations: 1.607 MB / 436.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.2601, allocations: 365.8 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2611, allocations: 420.4 kB / 437.1 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.2611, allocations: 4.328 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.2618, allocations: 482.3 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.2618, allocations: 0 / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003521/0.2653, allocations: 1.11 MB / 438.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.2654, allocations: 235.3 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.2659, allocations: 437.8 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.266, allocations: 37.7 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.2662, allocations: 308.8 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2663, allocations: 150.8 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2665, allocations: 94.14 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2667, allocations: 354.8 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.267, allocations: 148.9 kB / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.2676, allocations: 0.4892 MB / 440.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.2684, allocations: 443.2 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2684, allocations: 0 / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00176/0.2701, allocations: 0.7441 MB / 442.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2702, allocations: 11.94 kB / 442.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2702, allocations: 4 kB / 442.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.2708, allocations: 188.8 kB / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2711, allocations: 79.84 kB / 442.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.2753, allocations: 2.665 MB / 445 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2758, allocations: 83.7 kB / 445.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2758, allocations: 16 kB / 445.1 MB, free: 7.887 MB / 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.0002462/0.2761, allocations: 177.8 kB / 445.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.2761, allocations: 59.66 kB / 445.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.2762, allocations: 52.81 kB / 445.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2763, allocations: 8 kB / 445.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2763, allocations: 3.938 kB / 445.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2763, allocations: 7.984 kB / 445.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.2785, allocations: 1.148 MB / 446.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2785, allocations: 0 / 446.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.2787, allocations: 55.91 kB / 446.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.2793, allocations: 187.6 kB / 446.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.2793, allocations: 8 kB / 446.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.2832, allocations: 2.64 MB / 449.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2833, allocations: 80 / 449.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.2852, allocations: 0.9026 MB / 450.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.2853, allocations: 51.67 kB / 450.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.2853, allocations: 11.94 kB / 450.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.2857, allocations: 43.91 kB / 450.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.2858, allocations: 39.94 kB / 450.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2858, allocations: 11.98 kB / 450.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.2861, allocations: 303.1 kB / 450.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 0 / 450.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.2868, allocations: 179.7 kB / 451 MB, free: 1.828 MB / 350.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.002373/0.2891, allocations: 1.458 MB / 452.5 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.2904, allocations: 0.5567 MB / 453 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.2904, allocations: 7.984 kB / 453 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.291, allocations: 379.1 kB / 453.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.2915, allocations: 77.78 kB / 453.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.2993, allocations: 4.855 MB / 458.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2996, allocations: 259.4 kB / 458.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.2998, allocations: 48.36 kB / 458.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.3, allocations: 183.3 kB / 458.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3, allocations: 0 / 458.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.34, allocations: 12.33 MB / 471.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.39, allocations: 17.66 kB / 471.1 MB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.792099914047867] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 13.56757037807256 13.58307457 13.328574684 Calling exit ...