Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0017/0.0017, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001963/0.001963, allocations: 215 kB / 21.45 MB, free: 1.617 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.457/1.457, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 47.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 53.34 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005147/0.1227, allocations: 3.261 MB / 430.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.125, allocations: 1.036 MB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.1254, allocations: 4 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1257, allocations: 63.36 kB / 431.4 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.1264, allocations: 121.5 kB / 431.5 MB, free: 296 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.1269, allocations: 163.7 kB / 431.7 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.1278, allocations: 490 kB / 432.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.1281, allocations: 91.08 kB / 432.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.1285, allocations: 195.3 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.129, allocations: 211.1 kB / 432.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.1291, allocations: 40 kB / 432.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.1293, allocations: 79.91 kB / 432.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.1294, allocations: 87.73 kB / 432.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.1297, allocations: 218.9 kB / 433.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1304, allocations: 0.4979 MB / 433.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1304, allocations: 4 kB / 433.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1304, allocations: 3.938 kB / 433.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.1304, allocations: 0 / 433.6 MB, free: 14.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001641/0.1321, allocations: 0.7438 MB / 434.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1321, allocations: 8.031 kB / 434.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.667e-05/0.1322, allocations: 8.844 kB / 434.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.882e-05/0.1322, allocations: 74.72 kB / 434.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.1325, allocations: 56.64 kB / 434.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.1331, allocations: 323.5 kB / 434.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1331, allocations: 29.03 kB / 434.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.1332, allocations: 32.38 kB / 434.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.1339, allocations: 349 kB / 435.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1339, allocations: 0 / 435.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.1339, allocations: 12 kB / 435.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1339, allocations: 8 kB / 435.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.1344, allocations: 246.4 kB / 435.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1365, allocations: 1.159 MB / 436.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.1372, allocations: 271.5 kB / 436.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.1378, allocations: 197.1 kB / 437 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009637/0.1388, allocations: 1.117 MB / 438.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1388, allocations: 34.8 kB / 438.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.1388, allocations: 0 / 438.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001458/0.1403, allocations: 0.5289 MB / 438.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1403, allocations: 81.11 kB / 438.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.1407, allocations: 341.6 kB / 439.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.1408, allocations: 37.7 kB / 439.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1409, allocations: 212.5 kB / 439.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.141, allocations: 111.1 kB / 439.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.1412, allocations: 73.95 kB / 439.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1413, allocations: 346.8 kB / 439.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.1416, allocations: 116.6 kB / 440 MB, free: 7.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.1419, allocations: 178 kB / 440.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.1424, allocations: 292.2 kB / 440.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1424, allocations: 0 / 440.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008659/0.1433, allocations: 437.4 kB / 440.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1433, allocations: 6.031 kB / 440.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1433, allocations: 4 kB / 440.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.1436, allocations: 68.75 kB / 441 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.1439, allocations: 71.89 kB / 441 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.146, allocations: 1.947 MB / 443 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.1463, allocations: 39.73 kB / 443 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1463, allocations: 12 kB / 443 MB, free: 3.992 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.1465, allocations: 161.7 kB / 443.2 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.1466, allocations: 39.77 kB / 443.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/0.1474, allocations: 323.2 kB / 443.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1474, allocations: 7.938 kB / 443.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1474, allocations: 0 / 443.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1474, allocations: 192 / 443.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.148, allocations: 397.3 kB / 444 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.148, allocations: 7.875 kB / 444 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1483, allocations: 59.95 kB / 444 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.1485, allocations: 52.83 kB / 444.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1485, allocations: 8 kB / 444.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005085/0.1491, allocations: 0.6186 MB / 444.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1491, allocations: 3.938 kB / 444.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.15, allocations: 0.5124 MB / 445.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1502, allocations: 116.8 kB / 445.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.1502, allocations: 16.06 kB / 445.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1505, allocations: 19.98 kB / 445.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.1505, allocations: 19.95 kB / 445.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1506, allocations: 8 kB / 445.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1508, allocations: 243.2 kB / 445.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1508, allocations: 0 / 445.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.1513, allocations: 111.8 kB / 445.7 MB, free: 1.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.1528, allocations: 1.085 MB / 446.8 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2012/0.354, allocations: 397.3 kB / 447.2 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.354, allocations: 0 / 447.2 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3544, allocations: 132.2 kB / 447.3 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.3548, allocations: 42.11 kB / 447.4 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.3597, allocations: 3.759 MB / 451.1 MB, free: 22.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.36, allocations: 0.7912 MB / 451.9 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.3602, allocations: 36.64 kB / 452 MB, free: 22.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.3603, allocations: 129.1 kB / 452.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3603, allocations: 3.062 kB / 452.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.3978, allocations: 7.871 MB / 460 MB, free: 21.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.59, allocations: 9.469 kB / 460 MB, free: 21.39 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.994342032005079] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.736626414989587 12.745733324 12.612986539 Calling exit ...