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.001356/0.001356, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002/0.002, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 8.047 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-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.001879/0.001879, allocations: 69 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2631, allocations: 53.38 MB / 431.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004605/0.2677, allocations: 3.277 MB / 435.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2695, allocations: 1.013 MB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2697, allocations: 11.94 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2698, allocations: 55.42 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.2702, allocations: 138.9 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2705, allocations: 151.6 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.271, allocations: 490 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2713, allocations: 103.6 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.2715, allocations: 191.3 kB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.2718, allocations: 215 kB / 437.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.2719, allocations: 40 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.272, allocations: 79.97 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.2721, allocations: 91.69 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2723, allocations: 218.8 kB / 438 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.2728, allocations: 0.5026 MB / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2728, allocations: 0 / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2728, allocations: 0 / 438.5 MB, free: 452 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2728, allocations: 4 kB / 438.5 MB, free: 448 kB / 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.001287/0.2741, allocations: 0.6646 MB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2742, allocations: 16.02 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/0.2742, allocations: 62.73 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.2744, allocations: 60.64 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.2749, allocations: 257.2 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2749, allocations: 21.03 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.275, allocations: 36.38 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2756, allocations: 353.2 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2756, allocations: 3.938 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2757, allocations: 16 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2757, allocations: 12 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.2762, allocations: 234.5 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2781, allocations: 1.14 MB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.2787, allocations: 259.5 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.2792, allocations: 197.2 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/0.2795, allocations: 76.22 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.2796, allocations: 42.8 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.2796, allocations: 0 / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001293/0.2809, allocations: 464.5 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.2809, allocations: 85.05 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.2813, allocations: 341.6 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2813, allocations: 29.7 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.2815, allocations: 224.5 kB / 443 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.2816, allocations: 103.1 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2817, allocations: 74.02 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2819, allocations: 350.7 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.2821, allocations: 104.7 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2824, allocations: 185.8 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.2829, allocations: 292 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2829, allocations: 0 / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008016/0.2837, allocations: 421.4 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2838, allocations: 8 kB / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2838, allocations: 256 / 444.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.284, allocations: 80.69 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.2844, allocations: 75.89 kB / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.2864, allocations: 1.844 MB / 446.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.2866, allocations: 43.83 kB / 446.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2867, allocations: 12 kB / 446.6 MB, free: 7.93 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.0001878/0.2868, allocations: 161.6 kB / 446.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.2869, allocations: 39.77 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.2876, allocations: 330.3 kB / 447.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2876, allocations: 4 kB / 447.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2876, allocations: 3.938 kB / 447.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2876, allocations: 0 / 447.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.2881, allocations: 364.3 kB / 447.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2881, allocations: 0 / 447.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.2884, allocations: 55.95 kB / 447.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.2886, allocations: 60.83 kB / 447.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2886, allocations: 12 kB / 447.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004533/0.2891, allocations: 0.6148 MB / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2891, allocations: 0 / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.29, allocations: 0.5142 MB / 448.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.29, allocations: 43.69 kB / 448.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2901, allocations: 4 kB / 448.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.2903, allocations: 20.17 kB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.2904, allocations: 23.95 kB / 448.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2904, allocations: 11.94 kB / 448.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.2907, allocations: 239.2 kB / 449 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2907, allocations: 0 / 449 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.2911, allocations: 111.8 kB / 449.1 MB, free: 5.242 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.001308/0.2924, allocations: 1.092 MB / 450.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.2932, allocations: 398.5 kB / 450.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2932, allocations: 0 / 450.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.2936, allocations: 135.8 kB / 450.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.2939, allocations: 41.36 kB / 450.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.299, allocations: 3.766 MB / 454.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.2994, allocations: 0.7951 MB / 455.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.2995, allocations: 30.97 kB / 455.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.2997, allocations: 131.4 kB / 455.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2997, allocations: 0 / 455.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.3362, allocations: 8.031 MB / 463.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.47, allocations: 14.86 kB / 463.6 MB, free: 6.781 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 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: 14.872039805166423] 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.571118902880698 12.58490693 12.309161041 Calling exit ...