Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 221.1 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.267/1.267, allocations: 230.5 MB / 256.4 MB, free: 8.309 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 83.81 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2191, allocations: 53.3 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004137/0.2232, allocations: 3.276 MB / 432.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2247, allocations: 1.029 MB / 433.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2248, allocations: 4 kB / 433.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.225, allocations: 63.34 kB / 433.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2253, allocations: 123 kB / 433.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.2256, allocations: 163.6 kB / 434.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.2261, allocations: 493.9 kB / 434.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.2262, allocations: 95.16 kB / 434.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.2265, allocations: 187.3 kB / 434.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2268, allocations: 211.1 kB / 435 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.2268, allocations: 40 kB / 435.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.227, allocations: 75.97 kB / 435.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.2271, allocations: 99.61 kB / 435.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2273, allocations: 215 kB / 435.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.2278, allocations: 0.5022 MB / 435.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2278, allocations: 0 / 435.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2278, allocations: 0 / 435.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2278, allocations: 0 / 435.9 MB, free: 0.8867 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001249/0.2291, allocations: 0.7438 MB / 436.7 MB, free: 96 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2291, allocations: 8.031 kB / 436.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.2292, allocations: 74.66 kB / 436.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2294, allocations: 60.02 kB / 436.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.2297, allocations: 315.5 kB / 437.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2298, allocations: 29.03 kB / 437.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.2298, allocations: 36.36 kB / 437.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.2304, allocations: 345.8 kB / 437.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2304, allocations: 0 / 437.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2305, allocations: 19.94 kB / 437.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2305, allocations: 12 kB / 437.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.2309, allocations: 230.5 kB / 437.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.2328, allocations: 1.174 MB / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.2334, allocations: 259.6 kB / 439.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.2339, allocations: 205.2 kB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008197/0.2347, allocations: 1.113 MB / 440.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2347, allocations: 34.78 kB / 440.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.2347, allocations: 0 / 440.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001279/0.236, allocations: 0.5367 MB / 441.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.2361, allocations: 81.11 kB / 441.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.2364, allocations: 337.7 kB / 441.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2365, allocations: 33.7 kB / 441.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2366, allocations: 220.4 kB / 441.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/0.2367, allocations: 111.1 kB / 441.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2368, allocations: 66.03 kB / 441.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2369, allocations: 350.7 kB / 442.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.2372, allocations: 108.7 kB / 442.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2374, allocations: 182 kB / 442.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.2379, allocations: 287.6 kB / 442.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2379, allocations: 3.938 kB / 442.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007582/0.2387, allocations: 438 kB / 443.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2387, allocations: 4 kB / 443.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2387, allocations: 8 kB / 443.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.2389, allocations: 64.81 kB / 443.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2392, allocations: 71.91 kB / 443.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.241, allocations: 1.955 MB / 445.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2413, allocations: 39.72 kB / 445.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2413, allocations: 16 kB / 445.4 MB, free: 6.641 MB / 350.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.0001526/0.2414, allocations: 157.7 kB / 445.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.2415, allocations: 35.77 kB / 445.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.2422, allocations: 330.2 kB / 445.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2422, allocations: 4 kB / 445.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2422, allocations: 0 / 445.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2422, allocations: 3.938 kB / 446 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.2426, allocations: 401.2 kB / 446.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2426, allocations: 0 / 446.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.2429, allocations: 59.91 kB / 446.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.2431, allocations: 56.81 kB / 446.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2431, allocations: 8 kB / 446.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004257/0.2436, allocations: 0.611 MB / 447.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2436, allocations: 7.969 kB / 447.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.2445, allocations: 0.5133 MB / 447.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.2445, allocations: 108.8 kB / 447.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2446, allocations: 8.062 kB / 447.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2448, allocations: 23.98 kB / 447.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2449, allocations: 19.91 kB / 447.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2449, allocations: 8 kB / 447.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2451, allocations: 243.2 kB / 448 MB, free: 3.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2451, allocations: 0 / 448 MB, free: 3.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.2455, allocations: 111.8 kB / 448.1 MB, free: 3.832 MB / 350.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.001254/0.2468, allocations: 1.085 MB / 449.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000801/0.2476, allocations: 402.3 kB / 449.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2476, allocations: 0 / 449.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.2479, allocations: 132.4 kB / 449.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2483, allocations: 45.83 kB / 449.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.2531, allocations: 3.767 MB / 453.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2535, allocations: 0.7912 MB / 454.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.2537, allocations: 42.89 kB / 454.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.2538, allocations: 127.4 kB / 454.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2538, allocations: 0 / 454.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.2886, allocations: 7.827 MB / 462.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.18, allocations: 0 / 462.3 MB, free: 5.582 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=2e-07 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.28269827600161]