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.HighPass.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.001541/0.001541, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.001658/0.001658, allocations: 210.8 kB / 23.48 MB, free: 5.23 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.415/1.415, allocations: 230.4 MB / 257 MB, free: 8.246 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.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.001892/0.001892, allocations: 67.89 kB / 377.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 53.32 MB / 430.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00451/0.2591, allocations: 3.123 MB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2605, allocations: 0.8065 MB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.2607, allocations: 4 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2609, allocations: 59.42 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.2612, allocations: 111.1 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2615, allocations: 131.8 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.262, allocations: 462.1 kB / 435.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2622, allocations: 98.89 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.2626, allocations: 179.3 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2628, allocations: 195.1 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/0.2629, allocations: 44 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.263, allocations: 44 kB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.263, allocations: 75.77 kB / 435.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.2632, allocations: 207 kB / 435.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.2638, allocations: 494.6 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2638, allocations: 0 / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2638, allocations: 4 kB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.2638, allocations: 7.875 kB / 436.4 MB, free: 1.191 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00135/0.2651, allocations: 0.7107 MB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2652, allocations: 12.03 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.2653, allocations: 62.72 kB / 437.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.2653, allocations: 40.7 kB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.2658, allocations: 310.9 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2658, allocations: 24.94 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.2659, allocations: 32.12 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.2666, allocations: 347.6 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2666, allocations: 3.984 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2667, allocations: 12 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2667, allocations: 8 kB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.2675, allocations: 302 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.2697, allocations: 1.275 MB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.2703, allocations: 214.4 kB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.2707, allocations: 112.8 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2707, allocations: 4.25 kB / 439.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.2712, allocations: 196.6 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.2712, allocations: 0 / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002297/0.2735, allocations: 0.6786 MB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2736, allocations: 106.8 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.2739, allocations: 295 kB / 441.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.2739, allocations: 37.7 kB / 441.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2741, allocations: 219.9 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.2742, allocations: 47.58 kB / 441.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.2743, allocations: 61.59 kB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2744, allocations: 338.8 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.2748, allocations: 127.9 kB / 441.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.2752, allocations: 211.9 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.276, allocations: 322.8 kB / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.276, allocations: 0 / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001254/0.2772, allocations: 495.7 kB / 442.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.2773, allocations: 37.69 kB / 443 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2773, allocations: 4 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.2777, allocations: 84.86 kB / 443.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2779, allocations: 55.91 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.2807, allocations: 1.986 MB / 445.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.281, allocations: 59.86 kB / 445.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.281, allocations: 12 kB / 445.2 MB, free: 7.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.2812, allocations: 153.7 kB / 445.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.2813, allocations: 27.81 kB / 445.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.2813, allocations: 29.8 kB / 445.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2813, allocations: 4.125 kB / 445.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2813, allocations: 4 kB / 445.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2813, allocations: 7.984 kB / 445.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.2817, allocations: 333.4 kB / 445.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2817, allocations: 4 kB / 445.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2819, allocations: 35.95 kB / 445.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.2821, allocations: 84.75 kB / 445.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.2821, allocations: 11.92 kB / 445.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.2844, allocations: 1.814 MB / 447.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2844, allocations: 4 kB / 447.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.2858, allocations: 0.4887 MB / 448.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.2859, allocations: 108.9 kB / 448.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.2859, allocations: 3.938 kB / 448.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.2862, allocations: 40.02 kB / 448.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.2862, allocations: 15.98 kB / 448.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2863, allocations: 7.984 kB / 448.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.2865, allocations: 214 kB / 448.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2865, allocations: 0 / 448.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.2869, allocations: 83.83 kB / 448.6 MB, free: 4.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/0.2886, allocations: 1.042 MB / 449.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2898, allocations: 434 kB / 450.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2898, allocations: 0 / 450.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2903, allocations: 241.3 kB / 450.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2906, allocations: 51.12 kB / 450.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.2964, allocations: 3.33 MB / 453.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.2968, allocations: 0.7639 MB / 454.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.2969, allocations: 26.97 kB / 454.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2971, allocations: 95.41 kB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2971, allocations: 0 / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.3447, allocations: 7.432 MB / 462 MB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.06, allocations: 13.86 kB / 462 MB, free: 6.668 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.307177308015525] Failed to read output from testmodel.py, exit status != 0: ['time', 'derivative.c.v', 'derivative.opAmp.out.v', 'derivative.opAmp.out.i'] 12.15431035682559 12.170638099 11.903701262 Calling exit ...