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.001262/0.001262, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001617/0.001617, allocations: 217 kB / 24.53 MB, free: 4.012 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.412/1.412, 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.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.001877/0.001877, allocations: 63.91 kB / 378.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2984, allocations: 53.4 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004589/0.303, allocations: 3.002 MB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3045, allocations: 0.7441 MB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3047, allocations: 7.938 kB / 435.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.3049, allocations: 47.5 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.3051, allocations: 115 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.3053, allocations: 99.89 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.3058, allocations: 418.3 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.306, allocations: 91.66 kB / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3062, allocations: 155.4 kB / 436.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3065, allocations: 183.2 kB / 436.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.3065, allocations: 40 kB / 436.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.138e-05/0.3066, allocations: 40 kB / 436.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.3067, allocations: 83.69 kB / 437 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3068, allocations: 179.1 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.3074, allocations: 466.7 kB / 437.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3074, allocations: 4 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3074, allocations: 0 / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3074, 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.001213/0.3086, allocations: 0.5975 MB / 438.2 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3086, allocations: 12.03 kB / 438.2 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.3087, allocations: 4.844 kB / 438.2 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/0.3087, allocations: 66.73 kB / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.3088, allocations: 36.73 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.3093, allocations: 253.9 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3093, allocations: 21.03 kB / 438.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.3093, allocations: 24.38 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.31, allocations: 293.9 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.31, allocations: 0 / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.31, allocations: 15.98 kB / 438.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.31, allocations: 4 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.3107, allocations: 266.4 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.3127, allocations: 1.064 MB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.3133, allocations: 202.7 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.3136, allocations: 84.8 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3136, allocations: 4 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.3141, allocations: 186.2 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3141, allocations: 0 / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001713/0.3158, allocations: 454.1 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3159, allocations: 132.5 kB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.3163, allocations: 281.9 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3163, allocations: 33.69 kB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3164, allocations: 200 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.3165, allocations: 59.52 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.3166, allocations: 57.66 kB / 441.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3168, allocations: 338.8 kB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.3171, allocations: 95.92 kB / 442.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.3174, allocations: 201.5 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.318, allocations: 290.5 kB / 442.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.318, allocations: 3.938 kB / 442.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.3193, allocations: 415.8 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.3193, allocations: 37.64 kB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3194, allocations: 4 kB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.3197, allocations: 84.88 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.32, allocations: 43.91 kB / 443.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.3227, allocations: 1.88 MB / 445.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.323, allocations: 51.81 kB / 445.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3231, allocations: 8 kB / 445.3 MB, free: 8.812 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.0002136/0.3233, allocations: 165.3 kB / 445.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.3233, allocations: 27.81 kB / 445.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.3234, allocations: 30.05 kB / 445.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3234, allocations: 7.938 kB / 445.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3234, allocations: 0 / 445.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3234, allocations: 0 / 445.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.3237, allocations: 304.5 kB / 445.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3237, allocations: 0 / 445.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3239, allocations: 23.97 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.3242, allocations: 72.8 kB / 446 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3242, allocations: 4 kB / 446 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.3267, allocations: 1.869 MB / 447.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3267, allocations: 0 / 447.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.328, allocations: 321.4 kB / 448.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.328, allocations: 31.78 kB / 448.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3281, allocations: 0 / 448.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.3284, allocations: 35.95 kB / 448.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3286, allocations: 31.95 kB / 448.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3286, allocations: 0 / 448.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.3289, allocations: 201.2 kB / 448.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 0 / 448.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007666/0.3297, allocations: 83.89 kB / 448.5 MB, free: 5.434 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.001677/0.3314, allocations: 0.8583 MB / 449.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3327, allocations: 409.7 kB / 449.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3327, allocations: 0 / 449.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.3334, allocations: 239.2 kB / 450 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.3339, allocations: 62.97 kB / 450.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.3424, allocations: 3.117 MB / 453.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.3429, allocations: 0.7641 MB / 454 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3431, allocations: 30.91 kB / 454 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3433, allocations: 91.41 kB / 454.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3433, allocations: 0 / 454.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.3885, allocations: 7.444 MB / 461.5 MB, free: 8.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.11, allocations: 10.56 kB / 461.5 MB, free: 8.332 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.526557767996565] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 13.281728468020447 13.299298289 12.988486896 Calling exit ...