Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001386/0.001386, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001838/0.001838, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 59.89 kB / 378.6 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3001, allocations: 53.4 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004365/0.3045, allocations: 2.994 MB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3058, allocations: 0.7596 MB / 435.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.306, allocations: 11.88 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.3062, allocations: 47.5 kB / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.3064, allocations: 111.1 kB / 435.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3067, allocations: 91.91 kB / 436 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.3071, allocations: 422.3 kB / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.3073, allocations: 91.66 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3075, allocations: 159.4 kB / 436.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3077, allocations: 175.2 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.3078, allocations: 40 kB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.3079, allocations: 40 kB / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.3079, allocations: 83.69 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.3081, allocations: 179.1 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.3086, allocations: 463.1 kB / 437.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3086, allocations: 4 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3086, allocations: 0 / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3086, allocations: 0 / 437.6 MB, free: 1.016 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.001209/0.3099, allocations: 0.6014 MB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3099, allocations: 12.03 kB / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.3099, allocations: 4.844 kB / 438.2 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.31, allocations: 66.73 kB / 438.3 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.3101, allocations: 32.75 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.3105, allocations: 253.9 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3105, allocations: 24.97 kB / 438.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.3106, allocations: 24.38 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.3112, allocations: 286 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3112, allocations: 4 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3113, allocations: 12 kB / 438.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3113, allocations: 7.984 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.312, allocations: 262.4 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.3139, allocations: 1.057 MB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.3146, allocations: 210.6 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3148, allocations: 92.8 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3149, allocations: 0 / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/0.3153, allocations: 185.8 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3153, allocations: 4 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00171/0.317, allocations: 446.1 kB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3171, allocations: 136.5 kB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3175, allocations: 281.9 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.3175, allocations: 33.7 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3177, allocations: 208 kB / 441.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3178, allocations: 47.58 kB / 441.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3179, allocations: 57.66 kB / 441.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.318, allocations: 338.8 kB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.3183, allocations: 91.94 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.3187, allocations: 200.6 kB / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.3193, allocations: 277.7 kB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3193, allocations: 8 kB / 442.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001024/0.3204, allocations: 403.6 kB / 443.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.3204, allocations: 37.64 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3204, allocations: 320 / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.3208, allocations: 88.72 kB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.321, allocations: 39.97 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.3233, allocations: 1.71 MB / 445.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.3237, allocations: 47.84 kB / 445.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3237, allocations: 12 kB / 445.1 MB, free: 9.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.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 (24): * Single equations (assignments): 22 * 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.0002243/0.3239, allocations: 165.2 kB / 445.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.324, allocations: 31.81 kB / 445.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.324, allocations: 26.11 kB / 445.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.324, allocations: 4 kB / 445.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.324, allocations: 192 / 445.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.324, allocations: 0 / 445.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.3244, allocations: 300.5 kB / 445.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3244, allocations: 3.984 kB / 445.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3246, allocations: 31.97 kB / 445.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.3249, allocations: 68.8 kB / 445.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3249, allocations: 7.984 kB / 445.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.327, allocations: 1.703 MB / 447.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.327, allocations: 0 / 447.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.3279, allocations: 321.5 kB / 447.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.3279, allocations: 23.84 kB / 447.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.328, allocations: 8 kB / 447.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3282, allocations: 24.16 kB / 447.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.3283, allocations: 35.89 kB / 447.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3283, allocations: 8 kB / 447.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3285, allocations: 201.2 kB / 448.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3285, allocations: 0 / 448.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.3289, allocations: 91.78 kB / 448.2 MB, free: 5.793 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,gain.opAmp.satPos,gain.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.00121/0.3301, allocations: 0.8505 MB / 449 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3311, allocations: 420.5 kB / 449.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3311, allocations: 0 / 449.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.3316, allocations: 235.1 kB / 449.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.332, allocations: 40.48 kB / 449.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.3378, allocations: 3.093 MB / 452.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3382, allocations: 0.768 MB / 453.6 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.3383, allocations: 26.28 kB / 453.6 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3384, allocations: 87.41 kB / 453.7 MB, free: 48 kB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3384, allocations: 0 / 453.7 MB, free: 48 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.3702, allocations: 7.446 MB / 461.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.02, allocations: 4.062 kB / 461.1 MB, free: 8.746 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.511707231984474] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 13.192876792978495 13.208049795 12.896077465 Calling exit ...