Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001751/0.001751, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002008/0.002008, allocations: 205 kB / 21.45 MB, free: 1.629 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.479/1.479, allocations: 230.5 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-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.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.001993/0.001993, allocations: 75.77 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1012, allocations: 53.33 MB / 427.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004402/0.1056, allocations: 2.967 MB / 430 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1071, allocations: 0.7673 MB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1073, allocations: 7.938 kB / 430.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1075, allocations: 63.42 kB / 430.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1077, allocations: 111.2 kB / 431 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.108, allocations: 115.8 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.1085, allocations: 414.2 kB / 431.5 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.1087, allocations: 99.36 kB / 431.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1089, allocations: 151.4 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1869/0.2958, allocations: 162.3 kB / 431.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.2959, allocations: 33.41 kB / 431.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.296, allocations: 33.66 kB / 431.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.2961, allocations: 74.03 kB / 432 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2963, allocations: 176 kB / 432.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.2967, allocations: 374 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2967, allocations: 2.156 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2967, allocations: 0.5 kB / 432.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2967, allocations: 0 / 432.6 MB, free: 7.758 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001079/0.2978, allocations: 0.6471 MB / 433.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.2978, allocations: 10.66 kB / 433.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.2979, allocations: 69.5 kB / 433.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.298, allocations: 40.77 kB / 433.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.2984, allocations: 283.4 kB / 433.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2984, allocations: 22.88 kB / 433.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.2985, allocations: 35.28 kB / 433.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.2991, allocations: 348.3 kB / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2991, allocations: 0 / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2992, allocations: 11.94 kB / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2992, allocations: 9.438 kB / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.2998, allocations: 286.3 kB / 434.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.3015, allocations: 1.176 MB / 435.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.3024, allocations: 289.1 kB / 435.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.3029, allocations: 166.2 kB / 435.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.303, allocations: 6.391 kB / 435.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.303, allocations: 39.28 kB / 436 MB, free: 6.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.303, allocations: 1.406 kB / 436 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002689/0.3057, allocations: 0.8441 MB / 436.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.3057, allocations: 60.53 kB / 436.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.306, allocations: 278.5 kB / 437.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.306, allocations: 26.98 kB / 437.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3061, allocations: 209.3 kB / 437.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.3062, allocations: 75.89 kB / 437.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.3062, allocations: 57.58 kB / 437.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.3063, allocations: 335 kB / 437.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3066, allocations: 106.3 kB / 437.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3069, allocations: 191.5 kB / 438.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.3075, allocations: 297.8 kB / 438.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3075, allocations: 1.219 kB / 438.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00148/0.309, allocations: 0.5305 MB / 438.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.309, allocations: 7.625 kB / 439 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.309, allocations: 2.719 kB / 439 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.3096, allocations: 138 kB / 439.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3098, allocations: 57.84 kB / 439.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.3144, allocations: 3.705 MB / 442.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.3147, allocations: 51.09 kB / 442.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3147, allocations: 11.05 kB / 442.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002766/0.315, allocations: 184.3 kB / 443.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002208/0.3152, allocations: 176.6 kB / 443.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004155/0.3157, allocations: 263.9 kB / 443.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.3157, allocations: 1.062 kB / 443.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.001088/0.3168, allocations: 414.5 kB / 443.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3168, allocations: 8.391 kB / 443.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3168, allocations: 7.625 kB / 443.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3171, allocations: 81.56 kB / 444 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.3173, allocations: 62.27 kB / 444.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.3202, allocations: 3.015 MB / 447.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3205, allocations: 29.91 kB / 447.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.3205, allocations: 14.91 kB / 447.1 MB, free: 14.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.3207, allocations: 197.7 kB / 447.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3208, allocations: 29.45 kB / 447.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.3208, allocations: 36.86 kB / 447.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3208, allocations: 2 kB / 447.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3208, allocations: 0.9688 kB / 447.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3208, allocations: 1.5 kB / 447.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3227, allocations: 0.8163 MB / 448.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3227, allocations: 0 / 448.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3228, allocations: 24.12 kB / 448.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/0.3233, allocations: 138.2 kB / 448.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3233, allocations: 9.594 kB / 448.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/0.3281, allocations: 3.416 MB / 451.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3281, allocations: 6.062 kB / 451.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3297, allocations: 0.6151 MB / 452.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3298, allocations: 98.41 kB / 452.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.3299, allocations: 5.969 kB / 452.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3301, allocations: 32.72 kB / 452.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.3302, allocations: 18 kB / 452.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3302, allocations: 9.031 kB / 452.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3305, allocations: 194.5 kB / 452.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3305, allocations: 1.25 kB / 452.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007659/0.3312, allocations: 165.3 kB / 452.9 MB, free: 10.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/0.3333, allocations: 1.157 MB / 454.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3351, allocations: 0.8772 MB / 455 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3351, allocations: 0 / 455 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.3357, allocations: 346.2 kB / 455.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.3361, allocations: 50.95 kB / 455.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.3421, allocations: 3.358 MB / 458.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3425, allocations: 0.7711 MB / 459.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3426, allocations: 31.05 kB / 459.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3427, allocations: 84.42 kB / 459.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3427, allocations: 4.844 kB / 459.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.3849, allocations: 7.879 MB / 467.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.39, allocations: 9.266 kB / 467.5 MB, free: 3.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.930507693905383] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp1.out.v', 'opAmp1.out.i', 'opAmp2.out.v', 'opAmp2.out.i'] 12.493313723243773 12.513159877 12.212423424 Calling exit ...