Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001397/0.001397, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001431/0.001431, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.91 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3195, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004532/0.3241, allocations: 2.767 MB / 434.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3254, allocations: 0.709 MB / 435.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3256, allocations: 4 kB / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.3258, allocations: 47.52 kB / 435.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.326, allocations: 115.1 kB / 435.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.3263, allocations: 103.8 kB / 435.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.3268, allocations: 414.4 kB / 436.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.327, allocations: 87.67 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3273, allocations: 167.3 kB / 436.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.3275, allocations: 171.3 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.3276, allocations: 43.94 kB / 436.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.3277, allocations: 40 kB / 436.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.3278, allocations: 75.77 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.328, allocations: 147.3 kB / 436.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.3285, allocations: 466.2 kB / 437.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3285, allocations: 0 / 437.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3285, allocations: 0 / 437.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3285, allocations: 4 kB / 437.3 MB, free: 1.113 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00134/0.3299, allocations: 0.6091 MB / 437.9 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3299, allocations: 8.031 kB / 437.9 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.851e-05/0.33, allocations: 12.84 kB / 437.9 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.116e-05/0.33, allocations: 70.66 kB / 438 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.3301, allocations: 32.75 kB / 438 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.3306, allocations: 249.9 kB / 438.2 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.3307, allocations: 21.03 kB / 438.3 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.3307, allocations: 24.38 kB / 438.3 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.3315, allocations: 363 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3315, allocations: 0 / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.3315, allocations: 20 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3315, allocations: 8 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.3322, allocations: 262.5 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.3341, allocations: 0.9709 MB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.3348, allocations: 210.6 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.335, allocations: 84.8 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.3351, allocations: 4 kB / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.3356, allocations: 258.9 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3356, allocations: 0 / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001682/0.3372, allocations: 454.2 kB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.3373, allocations: 140.5 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3377, allocations: 281.8 kB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3377, allocations: 33.7 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3379, allocations: 200 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.338, allocations: 63.44 kB / 441.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3381, allocations: 53.66 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3382, allocations: 342.8 kB / 442 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3385, allocations: 121.6 kB / 442.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.339, allocations: 312.4 kB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.3396, allocations: 290.5 kB / 442.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3396, allocations: 4 kB / 442.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001078/0.3407, allocations: 433.4 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/0.3407, allocations: 41.62 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3407, allocations: 4 kB / 443.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.3411, allocations: 85.05 kB / 443.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3414, allocations: 47.95 kB / 443.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.3438, allocations: 1.857 MB / 445.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.3442, allocations: 55.86 kB / 445.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3442, allocations: 12 kB / 445.2 MB, free: 8.613 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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.3444, allocations: 157.3 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3445, allocations: 27.81 kB / 445.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.3445, allocations: 26.11 kB / 445.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3445, allocations: 11.88 kB / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3445, allocations: 0 / 445.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3445, allocations: 3.984 kB / 445.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3448, allocations: 264.6 kB / 445.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3448, allocations: 4 kB / 445.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.345, allocations: 23.91 kB / 445.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.3453, allocations: 72.8 kB / 445.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3453, allocations: 7.984 kB / 445.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3474, allocations: 1.853 MB / 447.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3475, allocations: 0 / 447.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.3483, allocations: 324.8 kB / 448 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.3483, allocations: 31.78 kB / 448 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3484, allocations: 4 kB / 448 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3486, allocations: 35.97 kB / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.3487, allocations: 27.89 kB / 448.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3487, allocations: 0 / 448.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.3489, allocations: 205.2 kB / 448.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3489, allocations: 0 / 448.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.3494, allocations: 83.89 kB / 448.3 MB, free: 5.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.3506, allocations: 0.8433 MB / 449.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3516, allocations: 451.4 kB / 449.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3516, allocations: 4 kB / 449.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.3521, allocations: 230.5 kB / 449.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3524, allocations: 59.97 kB / 449.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.3582, allocations: 3.245 MB / 453.2 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3584, allocations: 151.8 kB / 453.3 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3585, allocations: 30.95 kB / 453.3 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3587, allocations: 87.48 kB / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3587, allocations: 0 / 453.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.3927, allocations: 7.58 MB / 461 MB, free: 8.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.1, allocations: 11.98 kB / 461 MB, free: 8.512 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.535521797952242] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 13.275746946921572 13.294484694 12.962720273 Calling exit ...