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.001927/0.001927, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.002708/0.002708, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001996/0.001996, allocations: 71.89 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 53.3 MB / 426.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004695/0.1096, allocations: 3.109 MB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1112, allocations: 0.8065 MB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.1114, allocations: 4 kB / 430.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1116, allocations: 59.36 kB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1119, allocations: 127 kB / 431 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1123, allocations: 127.8 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.1129, allocations: 450.3 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.1132, allocations: 90.94 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1869/0.3001, allocations: 182 kB / 431.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.3004, allocations: 188.1 kB / 432 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.3005, allocations: 44.81 kB / 432.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.3006, allocations: 43.41 kB / 432.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.3006, allocations: 87.89 kB / 432.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3008, allocations: 198.8 kB / 432.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.3014, allocations: 499.5 kB / 432.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3014, allocations: 0 / 432.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3014, allocations: 1.281 kB / 432.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3014, allocations: 0 / 432.9 MB, free: 7.594 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00124/0.3026, allocations: 0.7172 MB / 433.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3027, allocations: 12.64 kB / 433.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3027, allocations: 61.28 kB / 433.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.3028, allocations: 38.98 kB / 433.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.3032, allocations: 317.9 kB / 434 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3032, allocations: 18.75 kB / 434 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3033, allocations: 29.84 kB / 434.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3039, allocations: 353 kB / 434.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3039, allocations: 0.7812 kB / 434.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.304, allocations: 7.234 kB / 434.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.304, allocations: 8.062 kB / 434.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.3047, allocations: 306.3 kB / 434.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3068, allocations: 1.279 MB / 436 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.3075, allocations: 217.6 kB / 436.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.3078, allocations: 110.9 kB / 436.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3078, allocations: 5.594 kB / 436.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.3083, allocations: 197.2 kB / 436.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.3083, allocations: 0 / 436.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002375/0.3107, allocations: 0.6785 MB / 437.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3107, allocations: 113.8 kB / 437.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.311, allocations: 292.9 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.311, allocations: 31.91 kB / 437.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3111, allocations: 211.8 kB / 437.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3112, allocations: 50.52 kB / 437.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.3113, allocations: 58.03 kB / 438 MB, free: 5.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.3113, allocations: 337.5 kB / 438.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.3117, allocations: 114.1 kB / 438.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.3121, allocations: 216.6 kB / 438.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.3129, allocations: 322.9 kB / 438.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3129, allocations: 1.156 kB / 438.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001406/0.3143, allocations: 490.1 kB / 439.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.3143, allocations: 40.16 kB / 439.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3143, allocations: 3.344 kB / 439.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.3148, allocations: 83.81 kB / 439.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.3151, allocations: 59.02 kB / 439.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.3177, allocations: 1.994 MB / 441.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.3181, allocations: 56.45 kB / 441.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.3181, allocations: 10.03 kB / 441.6 MB, free: 3.062 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.000165/0.3183, allocations: 162.6 kB / 441.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3183, allocations: 29.95 kB / 441.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.3184, allocations: 32.31 kB / 441.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3184, allocations: 6.188 kB / 441.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3184, allocations: 0 / 441.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3184, allocations: 0.75 kB / 441.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.3187, allocations: 336.8 kB / 442.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3187, allocations: 1.188 kB / 442.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3189, allocations: 28.09 kB / 442.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.3191, allocations: 93.12 kB / 442.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3192, allocations: 2.406 kB / 442.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.3212, allocations: 1.811 MB / 444.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3212, allocations: 1.062 kB / 444.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3227, allocations: 0.4903 MB / 444.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.3227, allocations: 105.5 kB / 444.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.3228, allocations: 8.766 kB / 444.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.323, allocations: 42.25 kB / 444.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.3231, allocations: 21.89 kB / 444.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3231, allocations: 4.406 kB / 444.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3233, allocations: 207.8 kB / 445 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3233, allocations: 0 / 445 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.3237, allocations: 85.7 kB / 445.1 MB, free: 0.6172 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.001543/0.3252, allocations: 1.041 MB / 446.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3262, allocations: 444.4 kB / 446.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3262, allocations: 1.125 kB / 446.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.3267, allocations: 230.3 kB / 446.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3271, allocations: 56.36 kB / 446.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.3326, allocations: 3.336 MB / 450.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.333, allocations: 0.7659 MB / 450.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3331, allocations: 27.31 kB / 451 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3333, allocations: 89.33 kB / 451.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3333, allocations: 0 / 451.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.369, allocations: 7.447 MB / 458.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 12.09 kB / 458.5 MB, free: 10.43 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.167762025259435] Failed to read output from testmodel.py, exit status != 0: ['time', 'derivative.c.v', 'derivative.opAmp.out.v', 'derivative.opAmp.out.i'] 11.932312989141792 11.945017463 11.640890443 Calling exit ...