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.Integrator.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.001756/0.001756, allocations: 121.3 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.002009/0.002009, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.451/1.451, allocations: 230.5 MB / 254.7 MB, free: 15 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.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.001967/0.001967, allocations: 67.89 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1024, allocations: 53.33 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004429/0.1068, allocations: 2.892 MB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1084, allocations: 0.7479 MB / 430.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.1086, allocations: 7.938 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1088, allocations: 47.56 kB / 430.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1091, allocations: 103.2 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1095, allocations: 111.8 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.11, allocations: 394.5 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.1103, allocations: 95.25 kB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.1106, allocations: 155.4 kB / 431.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1109, allocations: 163.4 kB / 431.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1109, allocations: 36 kB / 431.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.111, allocations: 44 kB / 431.7 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1894/0.3004, allocations: 71.8 kB / 431.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.3007, allocations: 164.5 kB / 431.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.3012, allocations: 428.8 kB / 432.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3012, allocations: 0 / 432.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3012, allocations: 0 / 432.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3012, allocations: 1.438 kB / 432.3 MB, free: 7.918 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001135/0.3023, allocations: 0.6684 MB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3024, allocations: 9.562 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.3024, allocations: 60.11 kB / 433.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.3025, allocations: 37.77 kB / 433.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3028, allocations: 287.5 kB / 433.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3028, allocations: 17.56 kB / 433.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.3029, allocations: 26.53 kB / 433.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.3035, allocations: 322.4 kB / 433.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3035, allocations: 0 / 433.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.3036, allocations: 9.656 kB / 433.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3036, allocations: 8.594 kB / 433.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.3043, allocations: 277.6 kB / 434 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3059, allocations: 1.17 MB / 435.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.3067, allocations: 241.1 kB / 435.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.307, allocations: 96.66 kB / 435.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.307, allocations: 4.641 kB / 435.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.3075, allocations: 174.5 kB / 435.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3075, allocations: 0 / 435.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001905/0.3094, allocations: 0.5961 MB / 436.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3094, allocations: 84.19 kB / 436.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3097, allocations: 260.1 kB / 436.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3097, allocations: 32.08 kB / 436.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.3098, allocations: 196.6 kB / 436.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3098, allocations: 43.33 kB / 436.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3099, allocations: 53.5 kB / 437 MB, free: 5.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.3099, allocations: 332.5 kB / 437.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.3102, allocations: 104.2 kB / 437.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3106, allocations: 192 kB / 437.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.3112, allocations: 295.5 kB / 437.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3112, allocations: 1.156 kB / 437.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001105/0.3123, allocations: 446.9 kB / 438.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.3123, allocations: 36.67 kB / 438.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3123, allocations: 3.75 kB / 438.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.3126, allocations: 71.86 kB / 438.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3129, allocations: 53.94 kB / 438.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.3146, allocations: 1.63 MB / 440.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.315, allocations: 50.88 kB / 440.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.315, allocations: 11.66 kB / 440.2 MB, free: 3.777 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3151, allocations: 150.8 kB / 440.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.3151, allocations: 27.34 kB / 440.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3152, allocations: 25.27 kB / 440.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3152, allocations: 2.312 kB / 440.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3152, allocations: 0 / 440.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3152, allocations: 1.453 kB / 440.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3154, allocations: 314.7 kB / 440.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3154, allocations: 0 / 440.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3156, allocations: 39.25 kB / 440.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.3158, allocations: 67.23 kB / 440.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3158, allocations: 3.797 kB / 440.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.3174, allocations: 1.623 MB / 442.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3174, allocations: 0 / 442.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.3186, allocations: 452.3 kB / 442.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3187, allocations: 107.2 kB / 443 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.3187, allocations: 5.875 kB / 443 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.3189, allocations: 30.78 kB / 443 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.319, allocations: 17.56 kB / 443 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.319, allocations: 6.641 kB / 443 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3192, allocations: 188.8 kB / 443.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3192, allocations: 3.938 kB / 443.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.3195, allocations: 68.44 kB / 443.3 MB, free: 1.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.3209, allocations: 0.9837 MB / 444.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009009/0.3218, allocations: 409.3 kB / 444.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3218, allocations: 0.5 kB / 444.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3223, allocations: 219.8 kB / 444.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3226, allocations: 44.7 kB / 444.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.3301, allocations: 3.42 MB / 448.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.3305, allocations: 0.7484 MB / 449.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3306, allocations: 25.27 kB / 449.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3308, allocations: 78.23 kB / 449.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3308, allocations: 0 / 449.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/0.3804, allocations: 6.353 MB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 5.391 kB / 455.5 MB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.212409909814596] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.c.v', 'integrator.opAmp.out.v', 'integrator.opAmp.out.i'] 11.955930166877806 11.970706841 11.66680327 Calling exit ...