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.001342/0.001342, allocations: 110.3 kB / 18.49 MB, free: 4.539 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.001502/0.001502, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001545/0.001545, allocations: 51.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1108, allocations: 53.32 MB / 427.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006252/0.117, allocations: 4.509 MB / 431.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2131/0.3301, allocations: 1.272 MB / 432.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.3304, allocations: 15.03 kB / 432.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.3309, allocations: 148.5 kB / 433 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.3313, allocations: 210 kB / 433.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.3317, allocations: 212 kB / 433.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000692/0.3324, allocations: 0.7716 MB / 434.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.3327, allocations: 203.5 kB / 434.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.3331, allocations: 300.4 kB / 434.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.3334, allocations: 323.2 kB / 435 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3335, allocations: 66.41 kB / 435.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.3336, allocations: 68.39 kB / 435.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3338, allocations: 152.5 kB / 435.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.334, allocations: 343 kB / 435.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.335, allocations: 0.7601 MB / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.335, allocations: 2.625 kB / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.335, allocations: 0 / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.335, allocations: 1.125 kB / 436.4 MB, free: 6.871 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.001914/0.337, allocations: 0.977 MB / 437.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.337, allocations: 10.44 kB / 437.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.239e-05/0.337, allocations: 17.88 kB / 437.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3371, allocations: 98.5 kB / 437.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.3375, allocations: 96.2 kB / 437.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.3381, allocations: 433.1 kB / 438 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.3381, allocations: 40.61 kB / 438 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.861e-05/0.3382, allocations: 59.69 kB / 438.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3393, allocations: 0.5417 MB / 438.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.3393, allocations: 0 / 438.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.3393, allocations: 26.23 kB / 438.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3394, allocations: 18.47 kB / 438.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.3402, allocations: 421 kB / 439.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.3431, allocations: 1.827 MB / 440.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.3439, allocations: 0.4918 MB / 441.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.3449, allocations: 424.4 kB / 441.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.345, allocations: 4.703 kB / 441.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.3455, allocations: 301.5 kB / 442.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.3455, allocations: 0 / 442.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004111/0.3496, allocations: 1.298 MB / 443.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.3497, allocations: 238.2 kB / 443.6 MB, free: 3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.3502, allocations: 439.1 kB / 444.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3502, allocations: 36.92 kB / 444.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3504, allocations: 314.2 kB / 444.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.3505, allocations: 152.9 kB / 444.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3506, allocations: 91.16 kB / 444.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.3507, allocations: 364.2 kB / 445 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.351, allocations: 151.1 kB / 445.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.3514, allocations: 327.1 kB / 445.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.3521, allocations: 447.3 kB / 445.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3521, allocations: 1.031 kB / 445.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001746/0.3539, allocations: 0.7723 MB / 446.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3539, allocations: 7.219 kB / 446.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3539, allocations: 4.531 kB / 446.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/0.3546, allocations: 226.5 kB / 446.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.3549, allocations: 72.69 kB / 447 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.3597, allocations: 3.132 MB / 450.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.3603, allocations: 81.05 kB / 450.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.3604, allocations: 19.39 kB / 450.2 MB, free: 14.83 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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.3607, allocations: 187.1 kB / 450.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.3607, allocations: 50.05 kB / 450.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.3609, allocations: 55.08 kB / 450.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3609, allocations: 4.359 kB / 450.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3609, allocations: 1.281 kB / 450.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/0.3609, allocations: 8.438 kB / 450.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.3634, allocations: 1.282 MB / 451.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3634, allocations: 0 / 451.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3635, allocations: 37.08 kB / 451.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/0.3642, allocations: 220.4 kB / 452.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3642, allocations: 8.781 kB / 452.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.3689, allocations: 3.045 MB / 455.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3689, allocations: 1.781 kB / 455.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.371, allocations: 0.9345 MB / 456 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.3712, allocations: 131.8 kB / 456.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.3713, allocations: 12.56 kB / 456.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.3716, allocations: 42.14 kB / 456.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.3717, allocations: 35.52 kB / 456.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.3718, allocations: 13.67 kB / 456.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.3721, allocations: 306.6 kB / 456.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3721, allocations: 0 / 456.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.3729, allocations: 186.5 kB / 456.8 MB, free: 10.95 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002408/0.3753, allocations: 1.489 MB / 458.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.377, allocations: 0.658 MB / 458.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.377, allocations: 0 / 458.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.3777, allocations: 411.1 kB / 459.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.3783, allocations: 80.95 kB / 459.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.3867, allocations: 4.928 MB / 464.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.3873, allocations: 0.8698 MB / 465.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.3875, allocations: 50.89 kB / 465.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.3877, allocations: 186.3 kB / 465.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3877, allocations: 4 kB / 465.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.4303, allocations: 12.6 MB / 478 MB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.82, allocations: 11.75 kB / 478 MB, free: 12.11 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.344510124996305] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.97267698601354 12.988034208 12.649959425 Calling exit ...