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.00129/0.00129, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001284/0.001284, allocations: 197 kB / 21.43 MB, free: 1.609 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.379/1.379, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.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.001482/0.001482, allocations: 52.06 kB / 366.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 52.14 MB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006115/0.1098, allocations: 4.456 MB / 423 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.1123, allocations: 1.219 MB / 424.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1125, allocations: 15.88 kB / 424.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.113, allocations: 146.7 kB / 424.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.1135, allocations: 206.2 kB / 424.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1139, allocations: 199.6 kB / 424.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008462/0.1148, allocations: 0.7553 MB / 425.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.1151, allocations: 198.6 kB / 425.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.1155, allocations: 294.8 kB / 426 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1159, allocations: 322.5 kB / 426.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.1159, allocations: 68 kB / 426.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.116, allocations: 64 kB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1162, allocations: 151.4 kB / 426.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.1165, allocations: 338.3 kB / 426.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.1174, allocations: 0.7507 MB / 427.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1174, allocations: 0 / 427.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1174, allocations: 4 kB / 427.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1174, allocations: 0 / 427.7 MB, free: 3.363 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.001936/0.1194, allocations: 0.9659 MB / 428.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1194, allocations: 8.031 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.072e-05/0.1194, allocations: 21.5 kB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.1196, allocations: 94.7 kB / 428.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1197, allocations: 76.47 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.1202, allocations: 414.1 kB / 429.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.1202, allocations: 41.69 kB / 429.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.1203, allocations: 55.94 kB / 429.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1213, allocations: 0.5495 MB / 429.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1214, allocations: 4 kB / 429.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.1214, allocations: 28 kB / 429.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1214, allocations: 12 kB / 429.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.1223, allocations: 421 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.1253, allocations: 1.817 MB / 432.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008233/0.1261, allocations: 0.4987 MB / 432.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.1272, allocations: 417.7 kB / 433.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1272, allocations: 12.33 kB / 433.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.1277, allocations: 290.2 kB / 433.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.023e-06/0.1277, allocations: 4 kB / 433.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.00409/0.1318, allocations: 1.295 MB / 434.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.132, allocations: 247.3 kB / 434.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.1326, allocations: 429.9 kB / 435.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1326, allocations: 33.7 kB / 435.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.1329, allocations: 304.8 kB / 435.6 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.133, allocations: 150.7 kB / 435.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.1332, allocations: 102.2 kB / 435.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1334, allocations: 358.7 kB / 436.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1337, allocations: 157 kB / 436.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.1342, allocations: 313.7 kB / 436.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/0.135, allocations: 459.2 kB / 437.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.135, allocations: 0 / 437.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001852/0.1369, allocations: 0.7675 MB / 437.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1369, allocations: 11.98 kB / 437.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1369, allocations: 4 kB / 437.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/0.1376, allocations: 216.7 kB / 438.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1379, allocations: 71.84 kB / 438.2 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.1431, allocations: 3.144 MB / 441.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.1438, allocations: 87.66 kB / 441.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.1439, allocations: 16 kB / 441.5 MB, free: 4.902 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.0003816/0.1442, allocations: 185.6 kB / 441.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1444, allocations: 55.7 kB / 441.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.1445, allocations: 48.88 kB / 441.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.1445, allocations: 4 kB / 441.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1445, allocations: 4.047 kB / 441.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.1446, allocations: 11.97 kB / 441.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.1482, allocations: 1.273 MB / 443 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1482, allocations: 4 kB / 443 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.1485, allocations: 39.91 kB / 443.1 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009956/0.1495, allocations: 210.1 kB / 443.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.1496, allocations: 16 kB / 443.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2121/0.3617, allocations: 3.047 MB / 446.4 MB, free: 29.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3617, allocations: 3.906 kB / 446.4 MB, free: 29.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.3636, allocations: 0.9256 MB / 447.3 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3637, allocations: 127.1 kB / 447.4 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.3638, allocations: 16.08 kB / 447.4 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.3642, allocations: 38.3 kB / 447.5 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3643, allocations: 38.41 kB / 447.5 MB, free: 29.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.3643, allocations: 14.47 kB / 447.5 MB, free: 29.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003621/0.3647, allocations: 295.1 kB / 447.8 MB, free: 29.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 447.8 MB, free: 29.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.3654, allocations: 187.1 kB / 448 MB, free: 29.15 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.001991/0.3674, allocations: 1.484 MB / 449.5 MB, free: 28.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3688, allocations: 0.6447 MB / 450.1 MB, free: 28.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3688, allocations: 0.875 kB / 450.1 MB, free: 28.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/0.3694, allocations: 413.6 kB / 450.5 MB, free: 28.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.3699, allocations: 85.5 kB / 450.6 MB, free: 28.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/0.378, allocations: 4.895 MB / 455.5 MB, free: 26.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3784, allocations: 0.8643 MB / 456.4 MB, free: 25.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.3786, allocations: 45.92 kB / 456.4 MB, free: 25.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.3788, allocations: 182.8 kB / 456.6 MB, free: 25.64 MB / 366.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3788, allocations: 1.312 kB / 456.6 MB, free: 25.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.4235, allocations: 12.43 MB / 469 MB, free: 22.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.49, allocations: 10.02 kB / 469 MB, free: 22.4 MB / 366.1 MB " [Timeout remaining time 647] (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: 14.926854438963346] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.v_out', 'rootMeanSquare.mean.x'] 12.640409487998113 12.655860559 12.535112082 Calling exit ...